aboutsummaryrefslogtreecommitdiff
path: root/sbin/route
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>2000-03-11 20:52:01 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>2000-03-11 20:52:01 +0000
commitb2fa7d408d99bff31658dc8dcd94995bc2f7094d (patch)
tree6aa9950971a2fbeb31cdb5dbb5c0c2534e374fd9 /sbin/route
parentdd251c382083c2d0fd18f36dc5ac68ccdb7da1d8 (diff)
Notes
Diffstat (limited to 'sbin/route')
-rw-r--r--sbin/route/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index e06017e331ee..a25ee24cf338 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -928,6 +928,7 @@ getaddr(which, s, hpp)
if (IN6_IS_ADDR_LINKLOCAL(&su->sin6.sin6_addr))
*(u_short *)&su->sin6.sin6_addr.s6_addr[2] =
ntohs(su->sin6.sin6_scope_id);
+ su->sin6.sin6_scope_id = 0;
return 0;
}
#endif