diff options
author | bms <bms@FreeBSD.org> | 2007-03-01 02:11:57 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2007-03-01 02:11:57 +0000 |
commit | a843fe0d3432844ab1942540ae5761afdaccccd9 (patch) | |
tree | 52bd4334ad0d3316cf8d63c39a80199ade8078c4 /usr.bin/netstat/mcast.c | |
parent | 9d599723bd554f4183fd44ec3ef8729977df5e22 (diff) | |
download | FreeBSD-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.c | 4 |
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 */ |