From: Christos Tsantilas Date: Wed, 30 Jul 2014 16:04:19 +0000 (+0300) Subject: Fix tcp outgoing tos bugs part 3 X-Git-Tag: SQUID_3_5_0_1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a3db63ddb35706ef2ed4bf3f0df7553bd426a22;p=thirdparty%2Fsquid.git Fix tcp outgoing tos bugs part 3 Set tos and netfilter mark value for outgoing ftp data connections established using the PASV command. Currently works only for EPSV command. --- diff --git a/src/ftp.cc b/src/ftp.cc index 0735e2f80a..5e4ea01ec7 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -2726,6 +2726,8 @@ ftpReadPasv(FtpStateData * ftpState) conn->setAddrs(ftpState->ctrl.conn->local, ipaddr); conn->local.port(0); conn->remote.port(port); + conn->tos = ftpState->ctrl.conn->tos; + conn->nfmark = ftpState->ctrl.conn->nfmark; debugs(9, 3, HERE << "connecting to " << conn->remote);