diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-06-09 10:47:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-06-09 10:47:04 +0200 |
commit | e941c27331c5536642f3b88acec8c0b3f7e14a62 (patch) | |
tree | e80d1e051ab97a96d903cecc649555d6ba10851e /src/network/networkd-ipv4ll.c | |
parent | fba3d902b49e1f4654b36c9d4311def4a084c3a7 (diff) | |
parent | e0ee46f29028e291eb67f435aff1b6202d75d9d6 (diff) |
Merge pull request #113 from mezcalero/address-family
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-ipv4ll.c b/src/network/networkd-ipv4ll.c index 74b3dea235..14b8770429 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) |