summaryrefslogtreecommitdiff
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-12-30 02:24:36 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-12-30 02:24:36 +0000
commitb1af327108796250c2313c8a969e8afb53bbff52 (patch)
tree7ab3cb0861e1b1979f9147da3db54acff763818d /sys/net/pf_ioctl.c
parenta71075a357b8c776172f8ad3fb1af6bba20b8449 (diff)
KNF
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r--sys/net/pf_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 99ea25fd041..496853a1698 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.34 2002/12/29 20:07:34 cedric Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.35 2002/12/30 02:24:35 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -801,7 +801,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
pf_mv_pool(&pf_pabuf, &newrule->rpool.list);
if (((((newrule->action == PF_NAT) ||
(newrule->action == PF_RDR) ||
- (newrule->action == PF_BINAT) ||
+ (newrule->action == PF_BINAT) ||
(newrule->rt > PF_FASTROUTE)) &&
!newrule->anchorname[0])) &&
(TAILQ_FIRST(&newrule->rpool.list) == NULL))