summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2014-01-07 16:34:06 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2014-01-07 16:34:06 +0000
commit889f42b40ec8aa7c9c40d60e3ca54caea303302e (patch)
tree352a13f584c55432f01f25f1d4a5fc01ffa85d01 /sys/netinet
parent0170978bf478d87ef9797717ebf65f2576d78370 (diff)
Some follow-up fixes for IFID collision handling in IPv6CP.
Really change the link-local address in the unlikely event of an IFID collision, instead of going into an infinite conf-nak loop with the peer. To make the netinet6 code use the IPv6CP IFID in a new link-local address, in6_ifattach_linklocal() must accept a provided IFID. Replace the unused 'altifp' parameter with a new 'ifid' parameter for this purpose. Always use the latest suggested address in IPv6CP replies, even if the task to update the interface's address hasn't run yet. Also, clear the ifindex (KAME hack) in addresses sent during IPv6CP. ok mpi
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions