summaryrefslogtreecommitdiff
path: root/src/wildcard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wildcard.cpp')
-rw-r--r--src/wildcard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp
index 3b4554f0f..e626f2aa2 100644
--- a/src/wildcard.cpp
+++ b/src/wildcard.cpp
@@ -86,7 +86,7 @@ bool match(const char *str, const char *mask)
/* Overloaded function that has the option of using cidr */
bool match(const char *str, const char *mask, bool use_cidr_match)
{
- if (use_cidr_match && MatchCIDR(str, mask))
+ if (use_cidr_match && MatchCIDR(str, mask, true))
return true;
return match(str, mask);
}