]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
parse multicast peer type
authorwessels <>
Fri, 7 Feb 1997 03:20:47 +0000 (03:20 +0000)
committerwessels <>
Fri, 7 Feb 1997 03:20:47 +0000 (03:20 +0000)
src/neighbors.cc

index 8ba07d34d3b0436ad373b89e9c731c70cbcbbda0..0701c78ca4059761bda87fea974d687d89809a26 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: neighbors.cc,v 1.110 1997/02/06 18:44:25 wessels Exp $
+ * $Id: neighbors.cc,v 1.111 1997/02/06 20:20:47 wessels Exp $
  *
  * DEBUG: section 15    Neighbor Routines
  * AUTHOR: Harvest Derived
@@ -924,6 +924,8 @@ parseNeighborType(const char *s)
        return PEER_SIBLING;
     if (!strcasecmp(s, "sibling"))
        return PEER_SIBLING;
+    if (!strcasecmp(s, "multicast"))
+       return PEER_MULTICAST;
     debug(15, 0, "WARNING: Unknown neighbor type: %s\n", s);
     return PEER_SIBLING;
 }