summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-09-28 12:32:31 +0200
committerTom Gundersen <teg@jklm.no>2016-11-13 01:02:46 +0100
commit7d342c03322ee1ffb97fd608ce697ec911f7815a (patch)
tree1f5f6bb7200174a6762cd01b8a020ec2c5a13822 /src/network/networkd-link.c
parent1f8c78a1bab2e06a462894fa89d842ffc313832d (diff)
networkd: network - apply() does not need to take the manager object
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index aefe7335b9..bae75aca6f 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2632,7 +2632,7 @@ static int link_initialized_and_synced(sd_netlink *rtnl, sd_netlink_message *m,
log_link_debug(link, "Ignoring DHCP server for loopback link");
}
- r = network_apply(link->manager, network, link);
+ r = network_apply(network, link);
if (r < 0)
return r;
}
@@ -2728,7 +2728,7 @@ static int link_load(Link *link) {
goto network_file_fail;
}
- r = network_apply(link->manager, network, link);
+ r = network_apply(network, link);
if (r < 0)
return log_link_error_errno(link, r, "Failed to apply network %s: %m", basename(network_file));
}