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:
7cba770
)
clear errors on interface reload
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 17:01:48 +0000
(19:01 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 17:01:48 +0000
(19:01 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 7bf8f25a2535edb4631152a5173ad6a9b8902d59..819e5e457aa9114e1201f01fe8efe06040032b8c 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-400,6
+400,7
@@
interface_change_config(struct interface *if_old, struct interface *if_new)
{
struct blob_attr *old_config = if_old->config;
+ interface_clear_errors(if_old);
if_old->config = if_new->config;
if (!if_old->config_autostart && if_new->config_autostart)
if_old->autostart = true;