[systemd-commits] 2 commits - src/network

Tom Gundersen tomegun at kemper.freedesktop.org
Sat Feb 1 07:50:48 PST 2014


 src/network/networkd-link.c   |    1 -
 src/network/networkd-netdev.c |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 172f6635d164b9c59290fae253bc0698c0627afa
Author: Tom Gundersen <teg at jklm.no>
Date:   Sat Feb 1 16:27:41 2014 +0100

    networkd: remove unused variable

diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index c48c96a..0df583a 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -140,7 +140,7 @@ static int netdev_enter_ready(Netdev *netdev) {
 
 static int netdev_create_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
         Netdev *netdev = userdata;
-        int r, ifindex;
+        int r;
 
         assert(netdev->state != _NETDEV_STATE_INVALID);
 

commit 71acb5e7dc58661e471ca11e0d5707b400c2d12c
Author: Tom Gundersen <teg at jklm.no>
Date:   Sat Feb 1 16:27:13 2014 +0100

    networkd: don't fail on DHCP errors

diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 0a363b2..563eab9 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -619,7 +619,6 @@ static void dhcp_handler(sd_dhcp_client *client, int event, void *userdata) {
                                 log_warning_link(link, "DHCP error: %s", strerror(-event));
                         else
                                 log_warning_link(link, "DHCP unknown event: %d", event);
-                        link_enter_failed(link);
                         break;
         }
 



More information about the systemd-commits mailing list