diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-24 03:25:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-24 03:25:30 +0000 |
commit | 7333fc021a741211f4589904565b27b92b747a4f (patch) | |
tree | 02900e2f1dcfed653465ffc848db2d400aff2100 /sbin/ipf | |
parent | cc697ccf42180dc0809840c895ea73f608aada4e (diff) |
fix parsing of various arguments; felix@mamba.pond.sub.org
Diffstat (limited to 'sbin/ipf')
-rw-r--r-- | sbin/ipf/parse.c | 6 |
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; |