summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/mcast.c
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2007-03-02 05:23:39 +0000
committeravatar <avatar@FreeBSD.org>2007-03-02 05:23:39 +0000
commit2d1909f3b99f9a3cb7031477a90f9d71abd25e6d (patch)
treee8fc678e7fc3adc7613177622b0285e5312b315c /usr.bin/netstat/mcast.c
parentc685513e0ba16e402efb7387f7f8c212d43b3e63 (diff)
downloadFreeBSD-src-2d1909f3b99f9a3cb7031477a90f9d71abd25e6d.zip
FreeBSD-src-2d1909f3b99f9a3cb7031477a90f9d71abd25e6d.tar.gz
Fixing NO_INET6 build as addr2ascii() has been nuked in previous commit.
Diffstat (limited to 'usr.bin/netstat/mcast.c')
-rw-r--r--usr.bin/netstat/mcast.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/netstat/mcast.c b/usr.bin/netstat/mcast.c
index 4f22c79..20d89bf 100644
--- a/usr.bin/netstat/mcast.c
+++ b/usr.bin/netstat/mcast.c
@@ -78,7 +78,9 @@ ifmalist_dump_af(const struct ifmaddrs * const ifmap, int const af)
const struct ifmaddrs *ifma;
sockunion_t *psa;
char myifname[IFNAMSIZ];
+#ifdef INET6
char addrbuf[INET6_ADDRSTRLEN];
+#endif
char *pcolon;
char *pafname, *pifname, *plladdr, *pgroup;
#ifdef INET6
OpenPOWER on IntegriCloud