chiark / gitweb /
networkd: fix getting initial state
authorTom Gundersen <teg@jklm.no>
Thu, 2 Jan 2014 00:43:05 +0000 (01:43 +0100)
committerTom Gundersen <teg@jklm.no>
Thu, 2 Jan 2014 00:43:05 +0000 (01:43 +0100)
We were requesting the state and then ignoring it...

src/network/networkd-link.c

index 3d01625d71eaa8998a02f7f6f676413f49dbb2d5..e421dd499471f76ec878409afe746f199e133411 100644 (file)
@@ -403,6 +403,8 @@ static int link_get_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
                 link_enter_failed(link);
         }
 
+        link_update(link, m);
+
         return 1;
 }