-/* $OpenBSD: icmp6.c,v 1.246 2022/12/10 22:40:58 kn Exp $ */
+/* $OpenBSD: icmp6.c,v 1.247 2022/12/10 23:45:51 kn Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
*/
struct rttimer_queue icmp6_redirect_timeout_q;
-/* XXX experimental, turned off */
-static int icmp6_redirect_lowat = -1;
-
void icmp6_errcount(int, int);
int icmp6_ratelimit(const struct in6_addr *, const int, const int);
const char *icmp6_redirect_diag(struct in6_addr *, struct in6_addr *,
rtcount = rt_timer_queue_count(&icmp6_redirect_timeout_q);
if (0 <= ip6_maxdynroutes && rtcount >= ip6_maxdynroutes)
goto freeit;
- else if (0 <= icmp6_redirect_lowat &&
- rtcount > icmp6_redirect_lowat) {
- /*
- * XXX nuke a victim, install the new one.
- */
- }
bzero(&sdst, sizeof(sdst));
bzero(&sgw, sizeof(sgw));