[systemd-commits] src/network

Tom Gundersen tomegun at kemper.freedesktop.org
Tue Aug 12 14:12:44 PDT 2014


 src/network/networkd-dhcp4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 38de08a7e476bb78b02fa5480ca3d038eedd66e7
Author: Tom Gundersen <teg at jklm.no>
Date:   Tue Aug 12 23:12:09 2014 +0200

    networkd: dhcp4 - fix copy-paste error
    
    Reported by poma.

diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index 499e813..5e4ff2b 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)



More information about the systemd-commits mailing list