Do not unconditionally set a link-local address.
authormpi <mpi@openbsd.org>
Thu, 8 Jan 2015 10:55:45 +0000 (10:55 +0000)
committermpi <mpi@openbsd.org>
Thu, 8 Jan 2015 10:55:45 +0000 (10:55 +0000)
commit2c6d939c0d842b76397ea6eb88a8a9c767fb4e88
tree3f97ec338faafd4769939bab2303fb63004ae192
parentb60a4613831c6daf14ad425979c5f6c06080c2e3
Do not unconditionally set a link-local address.

carp(4) has a hack to update its Ethernet address which was also
generating the corresponding IPv6 link-local address.  Since the
removal of the NOINET6 flag, this link-local address was generated
even if no IPv6 address has been configured on the interface.

This unbreak carp setup without v6 addresses, found the hard way by
sebastia@.

ok sebastia@, benno@, stsp@, @phessler
sys/netinet/ip_carp.c