summaryrefslogtreecommitdiffstats
path: root/sbin/route/route.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-05-13 16:31:11 +0000
committerume <ume@FreeBSD.org>2005-05-13 16:31:11 +0000
commite33ba033454acbec171e04edba1395842e412b5c (patch)
tree9ae1266a1a3de18e5409202ab088ec8928d3410e /sbin/route/route.c
parent4c5083a81ce14f96f4193b746c54f7e17d94e21b (diff)
downloadFreeBSD-src-e33ba033454acbec171e04edba1395842e412b5c.zip
FreeBSD-src-e33ba033454acbec171e04edba1395842e412b5c.tar.gz
NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
Diffstat (limited to 'sbin/route/route.c')
-rw-r--r--sbin/route/route.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index bc5c202..0ae44e6 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -352,9 +352,6 @@ routename(sa)
{
struct sockaddr_in6 sin6; /* use static var for safety */
int niflags = 0;
-#ifdef NI_WITHSCOPEID
- niflags = NI_WITHSCOPEID;
-#endif
memset(&sin6, 0, sizeof(sin6));
memcpy(&sin6, sa, sa->sa_len);
@@ -480,9 +477,6 @@ netname(sa)
{
struct sockaddr_in6 sin6; /* use static var for safety */
int niflags = 0;
-#ifdef NI_WITHSCOPEID
- niflags = NI_WITHSCOPEID;
-#endif
memset(&sin6, 0, sizeof(sin6));
memcpy(&sin6, sa, sa->sa_len);
OpenPOWER on IntegriCloud