From: wessels <> Date: Wed, 18 Feb 1998 02:05:27 +0000 (+0000) Subject: From: "Michael O'Reilly" X-Git-Tag: SQUID_3_0_PRE1~4081 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39ac34a94ed5df56311174859181b23123d95574;p=thirdparty%2Fsquid.git From: "Michael O'Reilly" require p->tcp_up before switching from PEER_DEAD to PEER_ALIVE. --- diff --git a/src/neighbors.cc b/src/neighbors.cc index e585034077..fbe5371866 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1,5 +1,5 @@ /* - * $Id: neighbors.cc,v 1.173 1998/02/06 23:57:30 wessels Exp $ + * $Id: neighbors.cc,v 1.174 1998/02/17 19:05:27 wessels Exp $ * * DEBUG: section 15 Neighbor Routines * AUTHOR: Harvest Derived @@ -520,7 +520,7 @@ neighborAlive(peer * p, const MemObject * mem, const icp_common_t * header) { int rtt; int n; - if (p->stats.logged_state == PEER_DEAD) { + if (p->stats.logged_state == PEER_DEAD && p->tcp_up) { debug(15, 0) ("Detected REVIVED %s: %s/%d/%d\n", neighborTypeStr(p), p->host, p->http_port, p->icp_port);