summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--system-linux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/system-linux.c b/system-linux.c
index 3372a66..eb26d20 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -235,6 +235,9 @@ found:
if (dev->type != &simple_device_type)
return;
+ if (add && system_if_force_external(dev->ifname))
+ return;
+
device_set_present(dev, add);
}