summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface.c b/interface.c
index df04ce3..bebc30b 100644
--- a/interface.c
+++ b/interface.c
@@ -277,6 +277,9 @@ interface_check_state(struct interface *iface)
}
break;
case IFS_DOWN:
+ if (!iface->available)
+ return;
+
if (iface->autostart && iface->enabled && link_state && !config_init)
__interface_set_up(iface);
break;