diff options
Diffstat (limited to 'contrib/ipfilter/common.c')
-rw-r--r-- | contrib/ipfilter/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ipfilter/common.c b/contrib/ipfilter/common.c index 935f3fb..d7706bd 100644 --- a/contrib/ipfilter/common.c +++ b/contrib/ipfilter/common.c @@ -274,7 +274,7 @@ int linenum; return 0; if (!strcasecmp(**seg, "port") && *(*seg + 1) && *(*seg + 2)) { (*seg)++; - if (isdigit(***seg) && *(*seg + 2)) { + if (isalnum(***seg) && *(*seg + 2)) { if (portnum(**seg, pp, linenum) == 0) return -1; (*seg)++; |