Add IFT_BRIDGE to the Ethernet section so l2 addresses are formatted correctly.
PR: bin/119542 Submitted by: Niki Denev
This commit is contained in:
parent
072aee8c70
commit
a3ab9923ff
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user