summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-04 23:08:49 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-04 23:08:49 +0200
commit21d73c87b09ec2b8642424bc714ce9af3da4fc40 (patch)
treee19ad041881f25cc11deeb6aac2931f7f56e4ab0 /src/resolve/resolved-manager.c
parent252f2b9e854dced09cf0968417d1868e5fa90a06 (diff)
resolved: actually read the initial state data from networkd when we initialize
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r--src/resolve/resolved-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index db346cc0e5..12883952b1 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -77,6 +77,10 @@ static int manager_process_link(sd_rtnl *rtnl, sd_rtnl_message *mm, void *userda
if (r < 0)
goto fail;
+ r = link_update_monitor(l);
+ if (r < 0)
+ goto fail;
+
if (is_new)
log_debug("Found new link %i/%s", ifindex, l->name);