]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
DHCP6: Don't remove delegated prefix addresses on start
authorRoy Marples <roy@marples.name>
Tue, 25 Jun 2024 10:40:14 +0000 (11:40 +0100)
committerRoy Marples <roy@marples.name>
Tue, 25 Jun 2024 11:08:45 +0000 (12:08 +0100)
commit8bc76072162e5208a33e834b5ca15d60d9197ca6
tree052c035b5ff6464b7d2ae74c1ee92f19c6783cb7
parent410fae4e558278fad1261277e9f977f0866eea93
DHCP6: Don't remove delegated prefix addresses on start

In the event where an interface is first delegated and then
started, we don't want the reading of a lease file to remove the
delegated prefixes or addresses.

As such, we also can't test the actual DHCP6 state when building
routes. Instead, just change the test for a delegated prefix
or not so we can still prefer non delegated routes.

Fixes #333.
src/dhcp6.c
src/ipv6.c