From fa0b1a2538dea6aa4024265eae258e8aee6003ad Mon Sep 17 00:00:00 2001 From: Automatic source maintenance Date: Tue, 9 Jul 2013 18:13:08 -0600 Subject: [PATCH] SourceFormat Enforcement --- src/ip/Intercept.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.47.3