]> granicus.if.org Git - pdns/commitdiff
Align EDNSOpts to 8-byte boundries
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 26 May 2015 09:25:31 +0000 (11:25 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 19 Jun 2015 18:14:20 +0000 (20:14 +0200)
pdns/dnsrecords.hh

index 5daa6c2d91387940cc43198324b14fd0f2c33c6a..d4f9a951bc813ef6c28040e01c1d214c2fc78c03 100644 (file)
@@ -616,11 +616,11 @@ void RNAME##RecordContent::xfrPacket(Convertor& conv)             \
 
 struct EDNSOpts
 {
+  enum zFlags { DNSSECOK=32768 };
+  vector<pair<uint16_t, string> > d_options;
   uint16_t d_packetsize;
-  uint8_t d_extRCode, d_version;
   uint16_t d_Z;
-  vector<pair<uint16_t, string> > d_options;
-  enum zFlags { DNSSECOK=32768 };
+  uint8_t d_extRCode, d_version;
 };
 //! Convenience function that fills out EDNS0 options, and returns true if there are any