]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 10 Jul 2013 00:13:08 +0000 (18:13 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 10 Jul 2013 00:13:08 +0000 (18:13 -0600)
src/ip/Intercept.cc

index 45de8d82f8865ac72c845d2e6a478d3063cd7640..0bf0d7a569b891ce4c9b803019c88a623f31a7df 100644 (file)
@@ -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;