From 1fa420b67190ab510345fa161a851f630b2e9c15 Mon Sep 17 00:00:00 2001 From: Tai-hwa Liang Date: Fri, 2 Mar 2007 05:23:39 +0000 Subject: [PATCH] Fixing NO_INET6 build as addr2ascii() has been nuked in previous commit. --- usr.bin/netstat/mcast.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/netstat/mcast.c b/usr.bin/netstat/mcast.c index 4f22c7993313..20d89bf6537a 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