summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1997-02-26 15:05:36 +0000
committerkstailey <kstailey@openbsd.org>1997-02-26 15:05:36 +0000
commit37fc5cacb5005dacda2f6938536a95709c937864 (patch)
tree2df139ef0b2e99ac9c9e19d9323d2d6a450e8679
parentadd tag (diff)
downloadwireguard-openbsd-37fc5cacb5005dacda2f6938536a95709c937864.tar.xz
wireguard-openbsd-37fc5cacb5005dacda2f6938536a95709c937864.zip
post 1.3.8 patches
-rw-r--r--sbin/ipf/parse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/ipf/parse.c b/sbin/ipf/parse.c
index c3f0a7ceb04..3cd8e2cabda 100644
--- a/sbin/ipf/parse.c
+++ b/sbin/ipf/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.9 1997/02/26 04:35:40 kstailey Exp $ */
+/* $OpenBSD: parse.c,v 1.10 1997/02/26 15:05:36 kstailey Exp $ */
/*
* (C)opyright 1993-1996 by Darren Reed.
*
@@ -872,6 +872,9 @@ u_long optmsk, optbits;
(!secmsk && !secbits)) {
printf("%s%s", s, io->on_name);
s = ",";
+ if (io->on_value ==
+ IPOPT_SECURITY)
+ io++;
} else
io++;
}