From: Amos Jeffries Date: Wed, 23 Apr 2014 05:15:49 +0000 (-0700) Subject: Fix outgoing peer type when using ORIGINAL_DST instead of DIRECT X-Git-Tag: SQUID_3_4_4_1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07266c4c6801a8b8703207535107f2180d6b4989;p=thirdparty%2Fsquid.git Fix outgoing peer type when using ORIGINAL_DST instead of DIRECT --- diff --git a/src/peer_select.cc b/src/peer_select.cc index 0eb1687520..19e337105a 100644 --- a/src/peer_select.cc +++ b/src/peer_select.cc @@ -242,7 +242,7 @@ peerSelectDnsPaths(ps_state *psstate) // construct a "result" adding the ORIGINAL_DST to the set instead of DIRECT Comm::ConnectionPointer p = new Comm::Connection(); p->remote = req->clientConnectionManager->clientConnection->local; - p->peerType = fs->code; + p->peerType = ORIGINAL_DST; // fs->code is DIRECT. This fixes the display. p->setPeer(fs->_peer); // check for a configured outgoing address for this destination...