projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: Check interface state only when main device is set during interface_change_config
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
95e1ee8
..
a4d7b8d
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-1020,7
+1020,8
@@
interface_change_config(struct interface *if_old, struct interface *if_new)
}
interface_write_resolv_conf();
- interface_check_state(if_old);
+ if (if_old->main_dev.dev)
+ interface_check_state(if_old);
out:
if_new->config = NULL;