]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix typo in IPF interception
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 18 Sep 2011 00:37:53 +0000 (12:37 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 18 Sep 2011 00:37:53 +0000 (12:37 +1200)
src/ip/Intercept.cc

index 3a9837d861396ae40ef2f54f044c9d16507af243..07fecda0311ae82aefcf043efa93fe13afb9263b 100644 (file)
@@ -204,7 +204,7 @@ Ip::Intercept::IpfInterception(const Comm::ConnectionPointer &newConn, int silen
 
     natLookup.nl_inport = htons(newConn->local.GetPort());
     newConn->local.GetInAddr(natLookup.nl_inip);
-    natLookup.nl_outport = htons(neConn->remote.GetPort());
+    natLookup.nl_outport = htons(newConn->remote.GetPort());
     newConn->remote.GetInAddr(natLookup.nl_outip);
     natLookup.nl_flags = IPN_TCP;