diff options
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r-- | src/network/networkd-manager.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 8378e92a81..5000674bd9 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -208,3 +208,13 @@ int manager_udev_listen(Manager *m) { return 0; } + +int manager_rtnl_listen(Manager *m) { + int r; + + r = sd_rtnl_attach_event(m->rtnl, m->event, 0); + if (r < 0) + return r; + + return 0; +} |