From f8cf10f2623cbda18e429cc122952859d3e323a5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 10 Jun 2013 12:33:32 +0200 Subject: [PATCH] Change IP reloading order --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.25.1