From: Pieter Lexis Date: Tue, 26 May 2015 09:25:31 +0000 (+0200) Subject: Align EDNSOpts to 8-byte boundries X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~77^2~4^2~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ca95d47d58c116596c71a4829d5f638dbdb7007;p=pdns Align EDNSOpts to 8-byte boundries --- diff --git a/pdns/dnsrecords.hh b/pdns/dnsrecords.hh index 5daa6c2d9..d4f9a951b 100644 --- a/pdns/dnsrecords.hh +++ b/pdns/dnsrecords.hh @@ -616,11 +616,11 @@ void RNAME##RecordContent::xfrPacket(Convertor& conv) \ struct EDNSOpts { + enum zFlags { DNSSECOK=32768 }; + vector > d_options; uint16_t d_packetsize; - uint8_t d_extRCode, d_version; uint16_t d_Z; - vector > 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