diff options
author | ume <ume@FreeBSD.org> | 2003-10-21 20:11:47 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-21 20:11:47 +0000 |
commit | bf741bc603a4e3d435392d831a2e8a401ed1d49e (patch) | |
tree | 88df25c0dd2a0863fe049f3df815c6e7ba0ce36d /usr.sbin/ifmcstat | |
parent | 5199c863f8f9e7f134710595dee582ad037bffb6 (diff) | |
download | FreeBSD-src-bf741bc603a4e3d435392d831a2e8a401ed1d49e.zip FreeBSD-src-bf741bc603a4e3d435392d831a2e8a401ed1d49e.tar.gz |
stop use of NI_WITHSCOPEID. it was deprecated.
Obtained from: KAME
Diffstat (limited to 'usr.sbin/ifmcstat')
-rw-r--r-- | usr.sbin/ifmcstat/ifmcstat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/ifmcstat/ifmcstat.c b/usr.sbin/ifmcstat/ifmcstat.c index 4097c59..72806ac 100644 --- a/usr.sbin/ifmcstat/ifmcstat.c +++ b/usr.sbin/ifmcstat/ifmcstat.c @@ -87,11 +87,7 @@ const char *inet6_n2a(p) static char buf[NI_MAXHOST]; struct sockaddr_in6 sin6; u_int32_t scopeid; -#ifdef NI_WITHSCOPEID - const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID; -#else const int niflags = NI_NUMERICHOST; -#endif memset(&sin6, 0, sizeof(sin6)); sin6.sin6_family = AF_INET6; |