summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--interface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index fddb861..77654fe 100644
--- 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;