docu
[oweals/gnunet.git] / src / dns / dnsparser.h
index 9d2880a696f37227e3ffe798aec88f609b559fa0..d312f8931ce0540d4ed70c637f2ff526529f9aa0 100644 (file)
@@ -172,20 +172,22 @@ struct srv_data
   /* followed by 'target' name */
 };
 
+
 /**
  * Payload of GNS VPN record
  */
 struct vpn_data
 {
   /**
-   * The protocol to use
+   * The peer to contact
    */
-  uint16_t proto;
+  struct GNUNET_HashCode peer;
 
   /**
-   * The peer to contact
+   * The protocol to use
    */
-  struct GNUNET_HashCode peer;
+  uint16_t proto GNUNET_PACKED;
+
 
   /* followed by the servicename / identifier / password (0-terminated) */
 };