Remove the dead KAME code that dealt with IPv4-mapped IPv6 addresses.
authorjca <jca@openbsd.org>
Fri, 18 Apr 2014 18:56:25 +0000 (18:56 +0000)
committerjca <jca@openbsd.org>
Fri, 18 Apr 2014 18:56:25 +0000 (18:56 +0000)
commited520e16b76fab86b4307608bf9fb7d08f0147a4
treec7ed887710280f0a2941a24df062abc18b815c63
parent0a00b71861d02418cf79f18850bfc15c8d783a42
Remove the dead KAME code that dealt with IPv4-mapped IPv6 addresses.
Add a check for IPv4-mapped IPv6 destination addresses, like in the most
recent KAME code, for non-connected sockets.  This prevents packets from
reaching the wire through the default route, if a reject route
for ::ffff:0.0.0.0/96 isn't present.  ok claudio@
sys/netinet6/udp6_output.c