From: wessels <> Date: Fri, 11 Sep 1998 21:56:43 +0000 (+0000) Subject: duplicate ICP_SECHO case X-Git-Tag: SQUID_3_0_PRE1~2742 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5aef686ff659520c4eda59922a6e3ecff1af7ed3;p=thirdparty%2Fsquid.git duplicate ICP_SECHO case --- diff --git a/src/neighbors.cc b/src/neighbors.cc index 4488d769e6..7476255c59 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1,6 +1,6 @@ /* - * $Id: neighbors.cc,v 1.242 1998/09/09 16:47:56 wessels Exp $ + * $Id: neighbors.cc,v 1.243 1998/09/11 15:56:43 wessels Exp $ * * DEBUG: section 15 Neighbor Routines * AUTHOR: Harvest Derived @@ -756,17 +756,6 @@ neighborsUdpAck(const cache_key * key, icp_common_t * header, const struct socka } if (ignoreMulticastReply(p, mem)) { neighborCountIgnored(p); - } else if (opcode == ICP_SECHO) { - /* Received source-ping reply */ - if (p) { - debug(15, 1) ("Ignoring SECHO from neighbor %s\n", p->host); - neighborCountIgnored(p); - } else { - /* if we reach here, source-ping reply is the first 'parent', - * so fetch directly from the source */ - debug(15, 6) ("Source is the first to respond.\n"); - mem->ping_reply_callback(NULL, ntype, PROTO_ICP, header, mem->ircb_data); - } } else if (opcode == ICP_MISS) { if (p == NULL) { neighborIgnoreNonPeer(from, opcode);