diff options
author | hrs <hrs@FreeBSD.org> | 2012-11-17 20:19:00 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2012-11-17 20:19:00 +0000 |
commit | 456b7a93418939408dbedc100658b7b995c87a8b (patch) | |
tree | 326b0fd08a208cf214b04ab6ac6f069d7ca658c2 /etc/namedb | |
parent | 9a8531105a4561079ee099a51460bb789ef9cfd1 (diff) | |
download | FreeBSD-src-456b7a93418939408dbedc100658b7b995c87a8b.zip FreeBSD-src-456b7a93418939408dbedc100658b7b995c87a8b.tar.gz |
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
Diffstat (limited to 'etc/namedb')
0 files changed, 0 insertions, 0 deletions