From 6a88e883fb9ae77c510ce14bbf41fb3cbd0f01d7 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Fri, 13 Feb 2015 00:02:22 +0000 Subject: Direct people to netstat for the new multicast routing sysctls. problem noted by dcoppa@ ok claudio@ --- sbin/sysctl/sysctl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sbin/sysctl') diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index cdc1fa596cf..c8b322f944d 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.209 2015/02/09 12:04:27 dlg Exp $ */ +/* $OpenBSD: sysctl.c,v 1.210 2015/02/13 00:02:21 guenther Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -536,6 +536,8 @@ parse(char *string, int flags) if ((mib[2] == IPPROTO_IP && mib[3] == IPCTL_MRTSTATS) || (mib[2] == IPPROTO_IP && mib[3] == IPCTL_STATS) || + (mib[2] == IPPROTO_IP && mib[3] == IPCTL_MRTMFC) || + (mib[2] == IPPROTO_IP && mib[3] == IPCTL_MRTVIF) || (mib[2] == IPPROTO_TCP && mib[3] == TCPCTL_STATS) || (mib[2] == IPPROTO_UDP && mib[3] == UDPCTL_STATS) || (mib[2] == IPPROTO_ESP && mib[3] == ESPCTL_STATS) || @@ -573,6 +575,8 @@ parse(char *string, int flags) return; if ((mib[2] == IPPROTO_PIM && mib[3] == PIM6CTL_STATS) || + (mib[2] == IPPROTO_IPV6 && mib[3] == IPV6CTL_MRTMFC) || + (mib[2] == IPPROTO_IPV6 && mib[3] == IPV6CTL_MRTMIF) || (mib[2] == IPPROTO_DIVERT && mib[3] == DIVERT6CTL_STATS)) { if (flags == 0) return; -- cgit v1.2.3