summaryrefslogtreecommitdiffstats
path: root/net/ifup.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ifup.c')
-rw-r--r--net/ifup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ifup.c b/net/ifup.c
index 2e59025035..de0c5f8a31 100644
--- a/net/ifup.c
+++ b/net/ifup.c
@@ -136,6 +136,8 @@ int ifup_all(unsigned flags)
while ((d = readdir(dir))) {
if (*d->d_name == '.')
continue;
+ if (strstr(d->d_name, "-discover"))
+ continue;
ifup(d->d_name, flags);
}