[systemd-commits] src/network

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Tue Apr 22 12:48:48 PDT 2014


 src/network/networkd-link.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cc544d5fb4c85e5645e3db7fbb34474674a3ac98
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Tue Apr 22 21:45:17 2014 +0200

    networkd: link - add missing curly brackets
    
    introduced in 1e9be60bbabe179f5233217384f1daec757c17c7

diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index fb873a9..310b9f5 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1509,9 +1509,11 @@ static int link_configure(Link *link) {
         }
 
         if (link_has_carrier(link->flags, link->operstate))
+        {
                 r = link_acquire_conf(link);
                 if (r < 0)
                         return r;
+        }
 
         return link_enter_enslave(link);
 }



More information about the systemd-commits mailing list