summaryrefslogtreecommitdiffstats
path: root/source/lib/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/interface.c')
-rw-r--r--source/lib/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/interface.c b/source/lib/interface.c
index 92664279599..e5352517567 100644
--- a/source/lib/interface.c
+++ b/source/lib/interface.c
@@ -109,7 +109,7 @@ static void interpret_interface(char *token)
/* first check if it is an interface name */
for (i=0;i<total_probed;i++) {
- if (fnmatch(token, probed_ifaces[i].name, 0) == 0) {
+ if (ms_fnmatch(token, probed_ifaces[i].name) == 0) {
add_interface(probed_ifaces[i].ip,
probed_ifaces[i].netmask);
added = 1;