aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/extcap.c b/extcap.c
index c2f01d102a..a4e656f5bf 100644
--- a/extcap.c
+++ b/extcap.c
@@ -584,6 +584,11 @@ extcap_has_configuration(const char * ifname, gboolean is_required) {
else if ( ! defval && (!stored || strlen(g_strchomp(stored)) <= (size_t)0) )
found = TRUE;
}
+
+ if ( arg->arg_type == EXTCAP_ARG_FILESELECT ) {
+ if ( arg->fileexists && ! ( file_exists(defval) || file_exists(stored) ) )
+ found = TRUE;
+ }
}
}