From: Yu Watanabe Date: Tue, 16 Jan 2018 16:29:13 +0000 (+0900) Subject: networkd: fix wrong argument check X-Git-Tag: v237~92^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7d16a91d670c56bc5051cf8042882515d8de74d;p=platform%2Fupstream%2Fsystemd.git networkd: fix wrong argument check --- diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 526c4d4..749b87f 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -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)