aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2001-04-26 06:02:03 +0000
committerBill Fenner <fenner@FreeBSD.org>2001-04-26 06:02:03 +0000
commitb9d92bf53e41958e7e6466a782a4fe7a88d59f43 (patch)
tree9e42afaf1757cc133e3229ebaca7c700d0992d47
parent40adb1a63b18dd9d574af3b71903713eb5e8cc02 (diff)
Notes
-rw-r--r--usr.bin/netstat/if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index b45f4b7b0c842..26e3ec00ac51d 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -471,9 +471,10 @@ intpr(interval, ifnetaddr, pfunc)
ntop_buf,
sizeof(ntop_buf)),
ifma.ifma_refcount);
+ break;
#endif /* INET6 */
case AF_LINK:
- switch (ifnet.if_type) {
+ switch (msa.dl.sdl_type) {
case IFT_ETHER:
case IFT_FDDI:
fmt = ether_ntoa(