summaryrefslogtreecommitdiff
path: root/src/network/networkd-ipv4ll.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-09 01:05:34 +0200
committerLennart Poettering <lennart@poettering.net>2015-06-09 01:21:02 +0200
commite0ee46f29028e291eb67f435aff1b6202d75d9d6 (patch)
tree032de6cab0c003f3cf774088db277399d3898c1e /src/network/networkd-ipv4ll.c
parent3a3701f03360f9a292dcab31fda1f6e0e0629c64 (diff)
networkd: actually always use AddressFamilyBoolean as the bit mask it is
Diffstat (limited to 'src/network/networkd-ipv4ll.c')
-rw-r--r--src/network/networkd-ipv4ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-ipv4ll.c b/src/network/networkd-ipv4ll.c
index 8050801e19..cfc0d90470 100644
--- a/src/network/networkd-ipv4ll.c
+++ b/src/network/networkd-ipv4ll.c
@@ -209,7 +209,7 @@ int ipv4ll_configure(Link *link) {
assert(link);
assert(link->network);
- assert(IN_SET(link->network->link_local, ADDRESS_FAMILY_IPV4, ADDRESS_FAMILY_YES));
+ assert(link->network->link_local & ADDRESS_FAMILY_IPV4);
r = sd_ipv4ll_new(&link->ipv4ll);
if (r < 0)