diff options
author | mdodd <mdodd@FreeBSD.org> | 2004-03-14 07:12:25 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2004-03-14 07:12:25 +0000 |
commit | 5c1fa8d5da08bb35240d982290838244419adf18 (patch) | |
tree | 87e6b83d0a7a379f76cda0a3a657d20a73d4511f /sys/net | |
parent | 116ff68711c74f9d723d845312cba4d261c081df (diff) | |
download | FreeBSD-src-5c1fa8d5da08bb35240d982290838244419adf18.zip FreeBSD-src-5c1fa8d5da08bb35240d982290838244419adf18.tar.gz |
Announce ethernet MAC addresss in ether_ifattach().
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_ethersubr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 16d8f52..4f7ac0f 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -868,6 +868,9 @@ ether_ifattach(struct ifnet *ifp, const u_int8_t *llc) (*ng_ether_attach_p)(ifp); if (BDG_LOADED) bdgtakeifaces_ptr(); + + /* Announce Ethernet MAC address. */ + if_printf(ifp, "Ethernet address: %6D\n", llc, ":"); } /* |