]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct docs on NAT
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 19 Sep 2009 08:20:12 +0000 (20:20 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 19 Sep 2009 08:20:12 +0000 (20:20 +1200)
src/ip/IpIntercept.cc

index 604faa010d2662d870576e1c7c8f51f24d9b370a..e54eb08143db56f2b58e8e89aae7f2495154330d 100644 (file)
@@ -385,7 +385,7 @@ IpIntercept::NatLookup(int fd, const IpAddress &me, const IpAddress &peer, IpAdd
         if ( NetfilterTransparent(fd, me, dst, silent) == 0) return 0;
     }
 
-    /* NAT is only available in IPv6 */
+    /* NAT is only available in IPv4 */
     if ( !me.IsIPv4()   ) return -1;
     if ( !peer.IsIPv4() ) return -1;