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:
Andrew Thompson 2008-01-10 20:53:13 +00:00
parent 072aee8c70
commit a3ab9923ff

View File

@ -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));