From: Amos Jeffries Date: Mon, 21 Apr 2014 12:40:32 +0000 (-0600) Subject: Fix outgoing peer type when using ORIGINAL_DST instead of DIRECT X-Git-Tag: SQUID_3_5_0_1~279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8e1617d83ec1c8b7890e5b4c685b5237f9ce8b7;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 af3c3e78b4..a17a4429b1 100644 --- a/src/peer_select.cc +++ b/src/peer_select.cc @@ -257,7 +257,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 = HIER_ORIGINAL_DST; // fs->code is DIRECT. This fixes the display. p->setPeer(fs->_peer); // check for a configured outgoing address for this destination...