summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ipf/lib/common/ports.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ipf/lib/common/ports.c')
-rw-r--r--usr/src/cmd/ipf/lib/common/ports.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/ipf/lib/common/ports.c b/usr/src/cmd/ipf/lib/common/ports.c
index 1c56f6e9ca..9a44e2c06a 100644
--- a/usr/src/cmd/ipf/lib/common/ports.c
+++ b/usr/src/cmd/ipf/lib/common/ports.c
@@ -3,7 +3,7 @@
*
* See the IPFILTER.LICENCE file for details on licencing.
*
- * $Id: ports.c,v 1.9 2002/01/28 06:50:47 darrenr Exp $
+ * $Id: ports.c,v 1.9.4.1 2004/12/09 19:41:22 darrenr Exp $
*/
#include <ctype.h>
@@ -28,7 +28,7 @@ int linenum;
return 0;
if (!strcasecmp(**seg, "port") && *(*seg + 1) && *(*seg + 2)) {
(*seg)++;
- if (isalnum(***seg) && *(*seg + 2)) {
+ if (ISALNUM(***seg) && *(*seg + 2)) {
if (portnum(**seg, proto, pp, linenum) == 0)
return -1;
(*seg)++;