diff options
Diffstat (limited to 'src/dns')
-rw-r--r-- | src/dns/dnsparser.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dns/dnsparser.h b/src/dns/dnsparser.h index 9d2880a69..d312f8931 100644 --- a/src/dns/dnsparser.h +++ b/src/dns/dnsparser.h | |||
@@ -172,20 +172,22 @@ struct srv_data | |||
172 | /* followed by 'target' name */ | 172 | /* followed by 'target' name */ |
173 | }; | 173 | }; |
174 | 174 | ||
175 | |||
175 | /** | 176 | /** |
176 | * Payload of GNS VPN record | 177 | * Payload of GNS VPN record |
177 | */ | 178 | */ |
178 | struct vpn_data | 179 | struct vpn_data |
179 | { | 180 | { |
180 | /** | 181 | /** |
181 | * The protocol to use | 182 | * The peer to contact |
182 | */ | 183 | */ |
183 | uint16_t proto; | 184 | struct GNUNET_HashCode peer; |
184 | 185 | ||
185 | /** | 186 | /** |
186 | * The peer to contact | 187 | * The protocol to use |
187 | */ | 188 | */ |
188 | struct GNUNET_HashCode peer; | 189 | uint16_t proto GNUNET_PACKED; |
190 | |||
189 | 191 | ||
190 | /* followed by the servicename / identifier / password (0-terminated) */ | 192 | /* followed by the servicename / identifier / password (0-terminated) */ |
191 | }; | 193 | }; |