summaryrefslogtreecommitdiff
path: root/source3/lib/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/interface.c')
-rw-r--r--source3/lib/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c
index 9266427959..e535251756 100644
--- a/source3/lib/interface.c
+++ b/source3/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;