projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clear errors on interface reload
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
7bf8f25
..
819e5e4
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;