diff options
author | Susant Sahani <ssahani@users.noreply.github.com> | 2016-08-07 14:53:32 +0530 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-08-07 11:23:32 +0200 |
commit | 2ad6b61049e13b93b1b3a92b4802e82ab99c86af (patch) | |
tree | 99c56a23d7408874277bdbc24ecc0f1b278577c9 /src | |
parent | 56bf97e10fefc424ab51e48a8a94cc8783ba5404 (diff) |
networkd: remove duplicate call to manager_dirty (#3917)
since link_dirty itself calls manager_dirty no need to
call it separately .
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkd-network.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index 17bbe5de9f..49faba5b12 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -395,10 +395,8 @@ int network_apply(Manager *manager, Network *network, Link *link) { if (!strv_isempty(network->dns) || !strv_isempty(network->ntp) || !strv_isempty(network->search_domains) || - !strv_isempty(network->route_domains)) { - manager_dirty(manager); + !strv_isempty(network->route_domains)) link_dirty(link); - } return 0; } |