summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/mcast.c
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2007-03-01 02:11:57 +0000
committerbms <bms@FreeBSD.org>2007-03-01 02:11:57 +0000
commita843fe0d3432844ab1942540ae5761afdaccccd9 (patch)
tree52bd4334ad0d3316cf8d63c39a80199ade8078c4 /usr.bin/netstat/mcast.c
parent9d599723bd554f4183fd44ec3ef8729977df5e22 (diff)
downloadFreeBSD-src-a843fe0d3432844ab1942540ae5761afdaccccd9.zip
FreeBSD-src-a843fe0d3432844ab1942540ae5761afdaccccd9.tar.gz
stub call to addr2ascii().
Noticed by: brooks
Diffstat (limited to 'usr.bin/netstat/mcast.c')
-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