]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #2895: TPROXY2 compile error
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 4 Apr 2010 20:01:14 +0000 (22:01 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 4 Apr 2010 20:01:14 +0000 (22:01 +0200)
src/forward.cc

index b02c275e1b9673629c263c3fb838fa8983130f54..fee15b64011f7345ff70ff927f2962c5820a2e14 100644 (file)
@@ -915,7 +915,7 @@ FwdState::connectStart()
     if (!fs->_peer && request->flags.spoof_client_ip) {
         // try to set the outgoing address using TPROXY v2
         // if it fails we abort any further TPROXY actions on this connection
-        if (IpInterceptor.SetTproxy2OutgoingAddr(int fd, const IpAddress &src) == -1) {
+        if (IpInterceptor.SetTproxy2OutgoingAddr(fd, src) == -1) {
             request->flags.spoof_client_ip = 0;
         }
     }