projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb6758
)
Change IP reloading order
author
Steven Barth
<steven@midlink.org>
Mon, 10 Jun 2013 10:33:32 +0000
(12:33 +0200)
committer
Steven Barth
<steven@midlink.org>
Mon, 10 Jun 2013 10:33:32 +0000
(12:33 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 30e48cf526b778c9bb27a4a2b0d47370a03b0452..96f8e6d70029a74e89064a08ae219c973ab2c72f 100644
(file)
--- 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();