freebsd-skq/sbin/route
hrs 456b7a9341 Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to
userland via routing socket or sysctl.  This eliminates the following
KAME-specific sin6_scope_id handling routine from each userland utility:

 sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]);

This behavior can be controlled by net.inet6.ip6.deembed_scopeid.  This is
set to 1 by default (sin6_scope_id will be filled in the kernel).

Reviewed by:	bz
2012-11-17 20:19:00 +00:00
..
keywords Add -fib modifier to specify FIB number. The FIB number can be in a 2012-11-17 19:54:23 +00:00
Makefile route(8): make WARNS=3 clean 2010-02-27 10:18:33 +00:00
route.8 Add -fib modifier to specify FIB number. The FIB number can be in a 2012-11-17 19:54:23 +00:00
route.c Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to 2012-11-17 20:19:00 +00:00