summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/mcast.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/netstat/mcast.c b/usr.bin/netstat/mcast.c
index 9bcae41..4f22c79 100644
--- a/usr.bin/netstat/mcast.c
+++ b/usr.bin/netstat/mcast.c
@@ -132,7 +132,7 @@ ifmalist_dump_af(const struct ifmaddrs * const ifmap, int const af)
(psa->sdl.sdl_type == IFT_ETHER)) {
pgroup =
ether_ntoa((struct ether_addr *)&psa->sdl.sdl_data);
-#if 0 /* XXX */
+#ifdef notyet
} else {
pgroup = addr2ascii(AF_LINK,
&psa->sdl,
@@ -154,12 +154,14 @@ ether_ntoa((struct ether_addr *)&psa->sdl.sdl_data);
/* IEEE 802 */
plladdr =
ether_ntoa((struct ether_addr *)&psa->sdl.sdl_data);
+#ifdef notyet
} else {
/* something more exotic */
plladdr = addr2ascii(AF_LINK,
&psa->sdl,
sizeof(struct sockaddr_dl),
addrbuf);
+#endif
}
} else {
/* not a link-layer address */
OpenPOWER on IntegriCloud