mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
network: dhcp-pd: fix condition in dhcp_pd_prefix_lost()
This commit is contained in:
parent
059d7b6eae
commit
277521a1ac
@ -667,7 +667,7 @@ void dhcp_pd_prefix_lost(Link *uplink) {
|
||||
}
|
||||
|
||||
SET_FOREACH(route, uplink->manager->routes) {
|
||||
if (IN_SET(route->source, NETWORK_CONFIG_SOURCE_DHCP4, NETWORK_CONFIG_SOURCE_DHCP6))
|
||||
if (!IN_SET(route->source, NETWORK_CONFIG_SOURCE_DHCP4, NETWORK_CONFIG_SOURCE_DHCP6))
|
||||
continue;
|
||||
if (route->family != AF_INET6)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user