diff options
author | maxim <maxim@FreeBSD.org> | 2011-12-19 05:50:34 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2011-12-19 05:50:34 +0000 |
commit | 330e98b5dec00a424988db6336dc195bb84dab04 (patch) | |
tree | 6ef199c9cdb0ed3626e65f1c649eef214229d2ca /sys/netinet6/ip6_mroute.c | |
parent | 473a67378d84b8efbe9e04f591c17c7f1f7fc89b (diff) | |
download | FreeBSD-src-330e98b5dec00a424988db6336dc195bb84dab04.zip FreeBSD-src-330e98b5dec00a424988db6336dc195bb84dab04.tar.gz |
o Convert IPv6 read-only stats sysctls to the read-write ones.
o Teach netstat(1) -z to reset these stats sysctls.
PR: bin/153206
Reviewed by: glebuis
Sponsored by: NGINX, Inc.
MFC after: 1 month
Diffstat (limited to 'sys/netinet6/ip6_mroute.c')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index a4f5044..98bf0ac 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -250,7 +250,7 @@ static mifi_t nummifs = 0; static mifi_t reg_mif_num = (mifi_t)-1; static struct pim6stat pim6stat; -SYSCTL_STRUCT(_net_inet6_pim, PIM6CTL_STATS, stats, CTLFLAG_RD, +SYSCTL_STRUCT(_net_inet6_pim, PIM6CTL_STATS, stats, CTLFLAG_RW, &pim6stat, pim6stat, "PIM Statistics (struct pim6stat, netinet6/pim_var.h)"); |