summaryrefslogtreecommitdiffstats
path: root/sbin/route/route.c
diff options
context:
space:
mode:
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