summaryrefslogtreecommitdiff
path: root/src/network/networkd-bridge.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-11 20:16:13 +0000
committerTom Gundersen <teg@jklm.no>2014-01-12 15:37:21 +0100
commitf46685a4c0780173e5291fb7c3caa1c35cb1d0af (patch)
tree973368fa0aa06d3ed6905696a71ddbc5056d5f85 /src/network/networkd-bridge.c
parentab47d620b459ce45774237ca1a38b5218426c897 (diff)
networkd: don't automatically reload config at runtime
We don't know if the config will be consistent, so do as systemd itself and only load config when the daemon starts (and possibly, in the future, when explicitly requested).
Diffstat (limited to 'src/network/networkd-bridge.c')
-rw-r--r--src/network/networkd-bridge.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/networkd-bridge.c b/src/network/networkd-bridge.c
index 430b5c53d3..7de7546358 100644
--- a/src/network/networkd-bridge.c
+++ b/src/network/networkd-bridge.c
@@ -55,9 +55,6 @@ int bridge_get(Manager *manager, const char *name, Bridge **ret) {
assert(name);
assert(ret);
- if (manager_should_reload(manager))
- manager_load_config(manager);
-
bridge = hashmap_get(manager->bridges, name);
if (!bridge) {
*ret = NULL;