summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-01-27 10:31:19 +0000
committermpi <mpi@openbsd.org>2015-01-27 10:31:19 +0000
commit15f0a5b39a2bb226b44457ed81a5d989cfee0393 (patch)
tree0ea823943f9339ced713c5db55a70e177409cebe /lib/libcrypto
parentDo not overwrite user-specified MTU. (diff)
downloadwireguard-openbsd-15f0a5b39a2bb226b44457ed81a5d989cfee0393.tar.xz
wireguard-openbsd-15f0a5b39a2bb226b44457ed81a5d989cfee0393.zip
Ensure that link-local addresses are correctly configured on loopback
interfaces. When the kernel automagically configures IPv6 addresses on loopback interfaces, start by assigning a link-local address and then try to assign "::1". Only the first configured loopback interface per rdomain can have the "::1" address. But even if other loopback interfaces failed to get this address, because it is already taken, give them a chance to have a link-local address. While here change in6_ifattach() to return an error value and remove duplicated code. Fix a regression introduced by the NOINET6 flag removal. ok henning@, stsp@, florian@, benno@
Diffstat (limited to 'lib/libcrypto')
0 files changed, 0 insertions, 0 deletions