summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-02 01:43:05 +0100
committerTom Gundersen <teg@jklm.no>2014-01-02 01:43:05 +0100
commit5eb036ca53c6066770e05fa0b4f9d19974b86e0c (patch)
tree89312285bc12d6829d29ae46c2cf5959ba0dcd51 /src
parentf5be560181d092c5f52a2b819aedcd48220f36ab (diff)
networkd: fix getting initial state
We were requesting the state and then ignoring it...
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 3d01625d71..e421dd4994 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -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;
}