summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2004-03-14 07:12:25 +0000
committermdodd <mdodd@FreeBSD.org>2004-03-14 07:12:25 +0000
commit5c1fa8d5da08bb35240d982290838244419adf18 (patch)
tree87e6b83d0a7a379f76cda0a3a657d20a73d4511f /sys/net
parent116ff68711c74f9d723d845312cba4d261c081df (diff)
downloadFreeBSD-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.c3
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, ":");
}
/*
OpenPOWER on IntegriCloud