]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
duplicate ICP_SECHO case
authorwessels <>
Fri, 11 Sep 1998 21:56:43 +0000 (21:56 +0000)
committerwessels <>
Fri, 11 Sep 1998 21:56:43 +0000 (21:56 +0000)
src/neighbors.cc

index 4488d769e631913a1013b9a027ce1a787619c1a5..7476255c592f8152eb19f1d5553239518c296bba 100644 (file)
@@ -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);