aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2015-05-22 18:31:26 +0000
committerEd Maste <emaste@FreeBSD.org>2015-05-22 18:31:26 +0000
commit8d121298ba4fa706702608ee1dcc6344967f445d (patch)
treef6ae8fe976329ece5f9794b219d37c030f5a7bfa /contrib
parent1c73ea3ef893472fab88132da05d8cf88719a303 (diff)
Notes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ipfilter/tools/ipf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ipfilter/tools/ipf.c b/contrib/ipfilter/tools/ipf.c
index dd601426debd..08cfb0a90191 100644
--- a/contrib/ipfilter/tools/ipf.c
+++ b/contrib/ipfilter/tools/ipf.c
@@ -296,7 +296,7 @@ static void packetlogon(opt)
printf("set log flag: nomatch\n");
change = 1;
}
- if (strstr(opt, "block") || index(opt, 'd')) {
+ if (strstr(opt, "block") || strchr(opt, 'd')) {
flag |= FF_LOGBLOCK;
if (opts & OPT_VERBOSE)
printf("set log flag: block\n");