aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-12-04 19:37:05 +0000
committerChristian Grothoff <christian@grothoff.org>2012-12-04 19:37:05 +0000
commit03cd2a43b97d5514b237261607a3f09aab4f250b (patch)
tree21a72501c16615b752f01d94dbc6522973424745 /src/dns
parent0f271cc42ea9e3029219fbb3a02862beacc08afa (diff)
downloadgnunet-03cd2a43b97d5514b237261607a3f09aab4f250b.tar.gz
gnunet-03cd2a43b97d5514b237261607a3f09aab4f250b.zip
-fix align
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/dnsparser.h10
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 */
178struct vpn_data 179struct 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};