diff options
author | Tom Gundersen <teg@jklm.no> | 2014-08-12 23:12:09 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-08-12 23:12:09 +0200 |
commit | 38de08a7e476bb78b02fa5480ca3d038eedd66e7 (patch) | |
tree | 376aac8d84fb24a8e3c5e81ef9d797925d90565e /src/network | |
parent | ccf1c0299fbe5f6b59e494aabc9883948b7a9df1 (diff) |
networkd: dhcp4 - fix copy-paste error
Reported by poma.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-dhcp4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c index 499e813f20..5e4ff2b80b 100644 --- a/src/network/networkd-dhcp4.c +++ b/src/network/networkd-dhcp4.c @@ -575,7 +575,7 @@ int dhcp4_configure(Link *link) { assert(link); assert(link->network); - assert(link->network->ipv4ll); + assert(IN_SET(link->network->dhcp, DHCP_SUPPORT_BOTH, DHCP_SUPPORT_V4)); r = sd_dhcp_client_new(&link->dhcp_client); if (r < 0) |