]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
clarify meaning of inner_remote
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 16 Sep 2021 08:46:00 +0000 (10:46 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 16 Sep 2021 08:46:00 +0000 (10:46 +0200)
pdns/dnspacket.hh

index 0300b8e53c2a7170142539d5b4fa10f7c3b0a99b..7ad8579530d948841f95ff26554403f859c1fda6 100644 (file)
@@ -147,7 +147,7 @@ public:
   TSIGRecordContent d_trc; //72
 
   ComboAddress d_remote; //28
-  std::optional<ComboAddress> d_inner_remote; // for proxy protocol
+  std::optional<ComboAddress> 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