summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 638343459c..d4239ab8d0 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -56,6 +56,8 @@ static int network_load_one(Manager *manager, const char *filename) {
if (!network->filename)
return log_oom();
+ network->manager = manager;
+
LIST_PREPEND(networks, manager->networks, network);
network = NULL;