]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: Clarify unusual IP:Intercept::LookupNat() API (#1894)
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 23 Aug 2024 04:33:01 +0000 (04:33 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 24 Aug 2024 16:33:07 +0000 (16:33 +0000)
src/ip/Intercept.h

index adfac7753d7c5c954e8515dfafef0b415efc8c10..f47b810d56baf258157e4485292f3e2305306789 100644 (file)
@@ -33,6 +33,9 @@ public:
     ~Intercept() {};
 
     /// perform NAT lookups for the local address of the given connection
+    /// \return true to indicate a successful lookup
+    /// \return false on errors that do not warrant listening socket closure
+    /// \throw exception on errors that warrant listening socket closure
     bool LookupNat(const Comm::Connection &);
 
     /**