summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusant Sahani <145210+ssahani@users.noreply.github.com>2017-11-21 11:54:14 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-21 11:54:14 +0100
commit8ad93cacf0fd397587910a4b6dade79c0c5fec88 (patch)
tree61c5665059e002223bfc7395fa18fa5033ac1be5
parentnetworkd: support incoming/outgoing device for rule matching (#7223) (diff)
downloadsystemd-8ad93cacf0fd397587910a4b6dade79c0c5fec88.tar.xz
systemd-8ad93cacf0fd397587910a4b6dade79c0c5fec88.zip
networkd: cleanup do not call link_enter_set_routes after label is set. (#6935)
Remove link_enter_set_routes after label is set.
-rw-r--r--src/network/networkd-link.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 3fb7703759..e68b83be00 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -932,10 +932,8 @@ static int address_label_handler(sd_netlink *rtnl, sd_netlink_message *m, void *
else if (r >= 0)
manager_rtnl_process_address(rtnl, m, link->manager);
- if (link->link_messages == 0) {
+ if (link->link_messages == 0)
log_link_debug(link, "Addresses label set");
- link_enter_set_routes(link);
- }
return 1;
}