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:
902f904
)
interface: do not clear errors after an interface is marked as down, the user might...
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Dec 2012 15:35:13 +0000
(16:35 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Dec 2012 15:36:13 +0000
(16:36 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index fddb861b09fea310217fe435642cd6465e2abd80..77654fe1d6edab28908ab076e8578fca81b7ba99 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-214,8
+214,6
@@
mark_interface_down(struct interface *iface)
void
__interface_set_down(struct interface *iface, bool force)
{
- interface_clear_errors(iface);
-
if (iface->state == IFS_DOWN ||
iface->state == IFS_TEARDOWN)
return;