mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
networkd: fix wrong argument check
This commit is contained in:
parent
1291a04298
commit
b7d16a91d6
@ -1357,7 +1357,7 @@ int manager_dhcp6_prefix_remove_all(Manager *m, Link *link) {
|
||||
struct in6_addr *addr;
|
||||
|
||||
assert_return(m, -EINVAL);
|
||||
assert_return(l, -EINVAL);
|
||||
assert_return(link, -EINVAL);
|
||||
|
||||
HASHMAP_FOREACH_KEY(l, addr, m->dhcp6_prefixes, i) {
|
||||
if (l != link)
|
||||
|
Loading…
Reference in New Issue
Block a user