diff options
author | Steven Barth <steven@midlink.org> | 2013-06-10 12:33:32 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-06-10 12:33:32 +0200 |
commit | f8cf10f2623cbda18e429cc122952859d3e323a5 (patch) | |
tree | 66f4acab8cb36867c07f3a43511921b0858a3df7 /interface.c | |
parent | dfb67585561ccd9bf735cfc5d5fba8401ca270c5 (diff) |
Change IP reloading order
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 30e48cf..96f8e6d 100644 --- a/interface.c +++ b/interface.c @@ -874,9 +874,9 @@ interface_change_config(struct interface *if_old, struct interface *if_new) if (reload_ip) { interface_ip_set_enabled(&if_old->config_ip, false); - interface_ip_set_enabled(&if_old->config_ip, if_new->config_ip.enabled); interface_ip_set_enabled(&if_old->proto_ip, false); interface_ip_set_enabled(&if_old->proto_ip, if_new->proto_ip.enabled); + interface_ip_set_enabled(&if_old->config_ip, if_new->config_ip.enabled); } interface_write_resolv_conf(); |