From: Pieter Lexis Date: Wed, 27 May 2015 11:54:05 +0000 (+0200) Subject: Shrink DNSProxy::ConntrackEntry from 112 to 104 bytes X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~77^2~4^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04e65fdfce2012d5de44905b6e124fbf5b0e6bd;p=thirdparty%2Fpdns.git Shrink DNSProxy::ConntrackEntry from 112 to 104 bytes --- diff --git a/pdns/dnsproxy.hh b/pdns/dnsproxy.hh index c6eda47fac..3ae652ca83 100644 --- a/pdns/dnsproxy.hh +++ b/pdns/dnsproxy.hh @@ -75,15 +75,15 @@ private: int getID_locked(); struct ConntrackEntry { - uint16_t id; - ComboAddress remote; - int outsock; time_t created; + boost::optional anyLocal; string qname; - uint16_t qtype; DNSPacket* complete; string aname; - boost::optional anyLocal; + ComboAddress remote; + uint16_t id; + uint16_t qtype; + int outsock; }; typedef map map_t;