summaryrefslogtreecommitdiff
path: root/src/network/networkd.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-14 16:22:51 +0100
committerTom Gundersen <teg@jklm.no>2013-11-17 23:12:27 +0100
commitf882c247ad59776c3a7753bb963c1f8e2386cb79 (patch)
treefa042fb8ddef72319f7a66aa4c267fa8824c5995 /src/network/networkd.c
parent8cd11a0f0f4ca05199e1166f6a07472b296f7455 (diff)
networkd: make all calls async
Diffstat (limited to 'src/network/networkd.c')
-rw-r--r--src/network/networkd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c
index ed93ffb3fc..769783000b 100644
--- a/src/network/networkd.c
+++ b/src/network/networkd.c
@@ -50,6 +50,10 @@ int main(int argc, char *argv[]) {
if (r < 0)
return EXIT_FAILURE;
+ r = manager_rtnl_listen(m);
+ if (r < 0)
+ return EXIT_FAILURE;
+
r = sd_event_loop(m->event);
if (r < 0)
return EXIT_FAILURE;