summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/vmstat.c
diff options
context:
space:
mode:
authorbrian <brian@openbsd.org>2001-11-23 12:38:52 +0000
committerbrian <brian@openbsd.org>2001-11-23 12:38:52 +0000
commitf8e12191e5118938c219795c8530097efe5c663a (patch)
treee8ba506bea0c2d5b6f9f89c0c2bb8f2f3a946dc8 /usr.bin/systat/vmstat.c
parentregen (diff)
downloadwireguard-openbsd-f8e12191e5118938c219795c8530097efe5c663a.tar.xz
wireguard-openbsd-f8e12191e5118938c219795c8530097efe5c663a.zip
Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr or
ncprange structure. Don't write() the netmask for IPv6 sockaddrs to the routing socket if the prefixlen is 128. It seems that messages written to the routing socket with the scopeid set for link local addresses are not understood. Instead, we have to put the scopeid in the 5th and 6th bytes of the address (see adjust_linklocal() in ncpaddr.c). I think this may be a bug in the KAME implementation - it should really understand both forms.
Diffstat (limited to 'usr.bin/systat/vmstat.c')
0 files changed, 0 insertions, 0 deletions