diff options
author | 2017-05-08 09:31:34 +0000 | |
---|---|---|
committer | 2017-05-08 09:31:34 +0000 | |
commit | 2b18c0b1f458fb6616d33181a13c340afa0a27d4 (patch) | |
tree | ecc1053a1a6ff532460fa85566d8f96319b595ef | |
parent | Sync nfs_connect() w/ sys_connect(). (diff) | |
download | wireguard-openbsd-2b18c0b1f458fb6616d33181a13c340afa0a27d4.tar.xz wireguard-openbsd-2b18c0b1f458fb6616d33181a13c340afa0a27d4.zip |
Make netstat(8) always ask for IPv6 multicast routing information. Worst
case is that we get an empty response instead of a message saying that
there is no multicast support.
ok mpi@
-rw-r--r-- | usr.bin/netstat/mroute6.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/netstat/mroute6.c b/usr.bin/netstat/mroute6.c index b6e83d95339..d6560038f29 100644 --- a/usr.bin/netstat/mroute6.c +++ b/usr.bin/netstat/mroute6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mroute6.c,v 1.22 2016/12/22 11:04:44 rzalamena Exp $ */ +/* $OpenBSD: mroute6.c,v 1.23 2017/05/08 09:31:34 rzalamena Exp $ */ /* * Copyright (C) 1998 WIDE Project. @@ -105,8 +105,7 @@ mroute6pr(void) } switch (mrtproto) { case 0: - printf("no IPv6 multicast routing compiled into this system\n"); - return; + break; default: printf("IPv6 multicast routing protocol %u, unknown\n", mrtproto); |