]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Shrink PacketReader from 24 to 16 bytes
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 26 May 2015 07:21:19 +0000 (09:21 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 19 Jun 2015 18:14:20 +0000 (20:14 +0200)
pdns/dnsparser.hh

index cc6de7673fdf4263c46bdf9842965a48b1efbbc8..eff94e4e9cf23012c119b578f817f5bbfaac3ccf 100644 (file)
@@ -150,6 +150,7 @@ public:
 private:
   uint16_t d_startrecordpos; // needed for getBlob later on
   uint16_t d_recordlen;      // ditto
+  uint16_t not_used; // Alighns the whole class on 8-byte boundries
   const vector<uint8_t>& d_content;
 };