]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
BSD: When we get RTM_NEWADDR the interface must have IFF_UP.
authorRoy Marples <roy@marples.name>
Wed, 26 Apr 2023 13:15:07 +0000 (14:15 +0100)
committerRoy Marples <roy@marples.name>
Wed, 26 Apr 2023 13:15:07 +0000 (14:15 +0100)
commit27c0b01164ac7f4ad697f8eaf9d009c0237ff2fb
tree9a4f3e3a0f3944eeccde73e9b629e3276572342f
parentca51f8dfeb81a72cd84f2e8e88d37c38007a198a
BSD: When we get RTM_NEWADDR the interface must have IFF_UP.

This is apparently historic behaviour.
It's not always mirrored in RTM_IFINFO either so we need to
replicate the behaviour if we had got it earlier.

This fixes dhcpcd requiring at least something to set the interface
up before starting on OpenBSD.
Other BSD are less impacted because it's a lot harder to get into
this state as we have more control over setting the IPv6 LL address.
src/if-bsd.c