summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-08-08 18:15:59 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-08-08 18:15:59 +0000
commitc6ce8c06df2ce56db8a90ae3a370b4609808de7c (patch)
treefbb4c8bc14efed5ecaec025704103dc18045f2f6 /sys/netinet
parentdac2ea53a8e9e87cd59c372301d79505056c8ab3 (diff)
Stop running nd6_expire every second.
We know when pltime or vltime decrease to zero. Run nd6_expire then. Input & OK mpi, bluhm
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/icmp6.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h
index 1713f6c2125..f1fc64b3298 100644
--- a/sys/netinet/icmp6.h
+++ b/sys/netinet/icmp6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.h,v 1.46 2017/08/03 17:36:06 florian Exp $ */
+/* $OpenBSD: icmp6.h,v 1.47 2017/08/08 18:15:58 florian Exp $ */
/* $KAME: icmp6.h,v 1.84 2003/04/23 10:26:51 itojun Exp $ */
/*
@@ -502,7 +502,6 @@ struct icmp6stat {
#define ICMPV6CTL_STATS 1
#define ICMPV6CTL_REDIRACCEPT 2 /* accept/process redirects */
#define ICMPV6CTL_REDIRTIMEOUT 3 /* redirect cache time */
-#define ICMPV6CTL_ND6_PRUNE 6
#define ICMPV6CTL_ND6_DELAY 8
#define ICMPV6CTL_ND6_UMAXTRIES 9
#define ICMPV6CTL_ND6_MMAXTRIES 10
@@ -521,7 +520,7 @@ struct icmp6stat {
{ "redirtimeout", CTLTYPE_INT }, \
{ 0, 0 }, \
{ 0, 0 }, \
- { "nd6_prune", CTLTYPE_INT }, \
+ { 0, 0 }, \
{ 0, 0 }, \
{ "nd6_delay", CTLTYPE_INT }, \
{ "nd6_umaxtries", CTLTYPE_INT }, \
@@ -543,7 +542,7 @@ struct icmp6stat {
&icmp6_redirtimeout, \
NULL, \
NULL, \
- &nd6_prune, \
+ NULL, \
NULL, \
&nd6_delay, \
&nd6_umaxtries, \