diff options
| author | Bruce M Simpson <bms@FreeBSD.org> | 2007-03-01 02:11:57 +0000 |
|---|---|---|
| committer | Bruce M Simpson <bms@FreeBSD.org> | 2007-03-01 02:11:57 +0000 |
| commit | b32fedf48fa6a5f0f1838e8c520de79117b566ae (patch) | |
| tree | 52bd4334ad0d3316cf8d63c39a80199ade8078c4 /usr.bin | |
| parent | 4c38f2f8bc315d4f505aad43db4634346667a54c (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -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 9bcae4148398..4f22c7993313 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 */ |
