summaryrefslogtreecommitdiff
path: root/src/network/networkd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd.c')
-rw-r--r--src/network/networkd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c
index 6b3bf12a4c..39e1b2af02 100644
--- a/src/network/networkd.c
+++ b/src/network/networkd.c
@@ -87,6 +87,12 @@ int main(int argc, char *argv[]) {
goto out;
}
+ r = manager_init_kmod_ctx(m);
+ if (r < 0) {
+ log_error("Could not init kmod context: %s", strerror(-r));
+ goto out;
+ }
+
r = manager_rtnl_enumerate_links(m);
if (r < 0) {
log_error("Could not enumerate links: %s", strerror(-r));