From: Peter van Dijk Date: Thu, 16 Sep 2021 08:46:00 +0000 (+0200) Subject: clarify meaning of inner_remote X-Git-Tag: dnsdist-1.7.0-alpha1~14^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=034768b4a685f3175ed0b93b0cf60dfb0d986401;p=thirdparty%2Fpdns.git clarify meaning of inner_remote --- diff --git a/pdns/dnspacket.hh b/pdns/dnspacket.hh index 0300b8e53c..7ad8579530 100644 --- a/pdns/dnspacket.hh +++ b/pdns/dnspacket.hh @@ -147,7 +147,7 @@ public: TSIGRecordContent d_trc; //72 ComboAddress d_remote; //28 - std::optional d_inner_remote; // for proxy protocol + std::optional d_inner_remote; // the 'outer' remote is the IP on the physical packet header. The 'inner' remote lives one layer deeper, in the PROXY header. TSIGHashEnum d_tsig_algo{TSIG_MD5}; //4 int d_ednsRawPacketSizeLimit{-1}; // only used for Lua record