mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-10 00:58:20 +03:00
network: dhcp6: fix condtion check
This commit is contained in:
parent
0ef9f3c76f
commit
b54aed29c6
@ -137,7 +137,7 @@ static int dhcp6_pd_remove_old(Link *link, bool force) {
|
||||
assert(link);
|
||||
assert(link->manager);
|
||||
|
||||
if (!force && (link->dhcp6_pd_address_messages != 0 || link->dhcp6_pd_route_configured != 0))
|
||||
if (!force && (link->dhcp6_pd_address_messages != 0 || link->dhcp6_pd_route_messages != 0))
|
||||
return 0;
|
||||
|
||||
if (set_isempty(link->dhcp6_pd_addresses_old) && set_isempty(link->dhcp6_pd_routes_old))
|
||||
|
Loading…
x
Reference in New Issue
Block a user