diff options
author | thompsa <thompsa@FreeBSD.org> | 2008-01-10 20:53:13 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2008-01-10 20:53:13 +0000 |
commit | 2fdbb8b316f250eccd5656acc19a211e94e5c7b3 (patch) | |
tree | a8145a14c12e8ae257e82452c88d41e315e781de /usr.bin/netstat/route.c | |
parent | 7acb3fd07e9f09b47978471894460fef5cd32e1f (diff) | |
download | FreeBSD-src-2fdbb8b316f250eccd5656acc19a211e94e5c7b3.zip FreeBSD-src-2fdbb8b316f250eccd5656acc19a211e94e5c7b3.tar.gz |
Add IFT_BRIDGE to the Ethernet section so l2 addresses are formatted correctly.
PR: bin/119542
Submitted by: Niki Denev
Diffstat (limited to 'usr.bin/netstat/route.c')
-rw-r--r-- | usr.bin/netstat/route.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 82202bb..4bb4123 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -660,6 +660,7 @@ fmt_sockaddr(struct sockaddr *sa, struct sockaddr *mask, int flags) case IFT_ETHER: case IFT_L2VLAN: + case IFT_BRIDGE: if (sdl->sdl_alen == ETHER_ADDR_LEN) { cp = ether_ntoa((struct ether_addr *) (sdl->sdl_data + sdl->sdl_nlen)); |