/*
- * $Id: cache_cf.cc,v 1.286 1998/06/08 17:29:14 wessels Exp $
+ * $Id: cache_cf.cc,v 1.287 1998/07/16 02:39:59 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
} else if (!strncasecmp(token, "htcp", 4)) {
EBIT_SET(p->options, NEIGHBOR_HTCP);
#endif
+ } else if (!strncasecmp(token, "no-netdb-exchange", 17)) {
+ EBIT_SET(p->options, NEIGHBOR_NO_NETDB_EXCHANGE);
} else {
debug(3, 0) ("parse_peer: token='%s'\n", token);
self_destruct();
round-robin
multicast-responder
closest-only
+ no-netdb-exchange
use 'proxy-only' to specify that objects fetched
from this cache should not be saved locally.
replies, we'll only forward CLOSEST_PARENT_MISSes
and never FIRST_PARENT_MISSes.
+ 'no-netdb-exchange' disables requesting ICMP
+ RTT database (NetDB) from the neighbor.
+
NOTE: non-ICP neighbors must be specified as 'parent'.
cache_peer hostname type 3128 3130
#if USE_HTCP
NEIGHBOR_HTCP,
#endif
+ NEIGHBOR_NO_NETDB_EXCHANGE,
NEIGHBOR_END
};
/*
- * $Id: neighbors.cc,v 1.224 1998/07/13 21:37:45 wessels Exp $
+ * $Id: neighbors.cc,v 1.225 1998/07/16 02:40:01 wessels Exp $
*
* DEBUG: section 15 Neighbor Routines
* AUTHOR: Harvest Derived
if (p->type == PEER_MULTICAST)
peerCountMcastPeersSchedule(p, 10);
if (p->type != PEER_MULTICAST)
- eventAddIsh("netdbExchangeStart", netdbExchangeStart, p, 30.0, 1);
+ if (!EBIT_TEST(p->options, NEIGHBOR_NO_NETDB_EXCHANGE))
+ eventAddIsh("netdbExchangeStart", netdbExchangeStart, p, 30.0, 1);
}
static void