diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-04 00:52:28 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-03-12 18:17:28 +0100 |
commit | 878e58f890d326c76c28bca0ca98ab8e811b860d (patch) | |
tree | 23963647ec472bac9636e88c471d7eada179266e | |
parent | 92c0de8b1953e9a382026d326e44e93579b791bc (diff) | |
download | systemd-878e58f890d326c76c28bca0ca98ab8e811b860d.tar.gz |
network: dhcp6: fix condtion check
(cherry picked from commit b54aed29c61b9b86dc9cfa214c946586ea1f4972)
(cherry picked from commit 8f2c4ebba2dff6b05b622cda0b1b83d30c20abcb)
-rw-r--r-- | src/network/networkd-dhcp6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index 675f19c92d..d2d6ffd1b9 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -129,7 +129,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)) |