projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
do not clear device state for devices created by proto-up with address-external set
[project/netifd.git]
/
system-linux.c
diff --git
a/system-linux.c
b/system-linux.c
index
2a85b28
..
44332a2
100644
(file)
--- a/
system-linux.c
+++ b/
system-linux.c
@@
-370,6
+370,9
@@
void system_if_clear_state(struct device *dev)
char buf[256];
char *bridge;
+ if (dev->external)
+ return;
+
dev->ifindex = system_if_resolve(dev);
if (!dev->ifindex)
return;