summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-24 03:25:29 +0000
committerderaadt <deraadt@openbsd.org>1997-11-24 03:25:29 +0000
commit921d5d69d477c768e1db1ea6b7048053adb71a78 (patch)
treef94485319491d823e4ddda424eb38420da9c7169
parentfix memory leak; hbriceno@lcs.mit.edu (diff)
downloadwireguard-openbsd-921d5d69d477c768e1db1ea6b7048053adb71a78.tar.xz
wireguard-openbsd-921d5d69d477c768e1db1ea6b7048053adb71a78.zip
fix parsing of various arguments; felix@mamba.pond.sub.org
-rw-r--r--sbin/ipf/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipf/parse.c b/sbin/ipf/parse.c
index 5f4b4e5b57a..1420d5745d1 100644
--- a/sbin/ipf/parse.c
+++ b/sbin/ipf/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.16 1997/08/24 18:29:39 millert Exp $ */
+/* $OpenBSD: parse.c,v 1.17 1997/11/24 03:25:29 deraadt Exp $ */
/*
* (C)opyright 1993-1996 by Darren Reed.
*
@@ -703,8 +703,8 @@ struct frentry *fr;
return -1;
while (**cp && (!strncasecmp(**cp, "ipopt", 5) ||
- !strncasecmp(**cp, "not", 3) || !strncasecmp(**cp, "opt", 4) ||
- !strncasecmp(**cp, "frag", 3) || !strncasecmp(**cp, "no", 2) ||
+ !strncasecmp(**cp, "not", 3) || !strncasecmp(**cp, "opt", 3) ||
+ !strncasecmp(**cp, "frag", 4) || !strncasecmp(**cp, "no", 2) ||
!strncasecmp(**cp, "short", 5))) {
if (***cp == 'n' || ***cp == 'N') {
notopt = 1;