From: Henrik Nordstrom Date: Sun, 4 Apr 2010 20:01:14 +0000 (+0200) Subject: Bug #2895: TPROXY2 compile error X-Git-Tag: SQUID_3_2_0_1~320 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f24c81bade6e92a7c53c61a0ade5d33efc07cf70;p=thirdparty%2Fsquid.git Bug #2895: TPROXY2 compile error --- diff --git a/src/forward.cc b/src/forward.cc index b02c275e1b..fee15b6401 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -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; } }