From: Automatic source maintenance Date: Wed, 10 Jul 2013 00:13:08 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_4_0_1~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa0b1a2538dea6aa4024265eae258e8aee6003ad;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/ip/Intercept.cc b/src/ip/Intercept.cc index 45de8d82f8..0bf0d7a569 100644 --- a/src/ip/Intercept.cc +++ b/src/ip/Intercept.cc @@ -145,10 +145,10 @@ Ip::Intercept::NetfilterInterception(const Comm::ConnectionPointer &newConn, int /** \par * Try NAT lookup for REDIRECT or DNAT targets. */ if ( getsockopt(newConn->fd, - newConn->local.isIPv6() ? IPPROTO_IPV6 : IPPROTO_IP, - newConn->local.isIPv6() ? IP6T_SO_ORIGINAL_DST : SO_ORIGINAL_DST, - &lookup, - &len) != 0) { + newConn->local.isIPv6() ? IPPROTO_IPV6 : IPPROTO_IP, + newConn->local.isIPv6() ? IP6T_SO_ORIGINAL_DST : SO_ORIGINAL_DST, + &lookup, + &len) != 0) { if (!silent) { debugs(89, DBG_IMPORTANT, "ERROR: NF getsockopt(ORIGINAL_DST) failed on " << newConn << ": " << xstrerror()); lastReported_ = squid_curtime;