diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-06 10:08:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-06 10:08:37 +0000 |
commit | fb96540116ea8d0803f9f42666a3d761fe6e5fc3 (patch) | |
tree | 1a6cc999e2c5d818670f072a62be90042c349239 /sys/net/pf.c | |
parent | 012acd291e7062455ea19a537e673dc76714ff9c (diff) |
knf
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 1a62e603951..fa9eeaf1a71 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.298 2003/01/05 22:14:23 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.299 2003/01/06 10:08:36 deraadt Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -752,7 +752,7 @@ pf_calc_skip_steps(struct pf_rulequeue *rules) if (cur->src.addr.type == PF_ADDR_DYNIFTL || prev->src.addr.type == PF_ADDR_DYNIFTL || cur->src.not != prev->src.not || - (cur->src.addr.type == PF_ADDR_NOROUTE) != + (cur->src.addr.type == PF_ADDR_NOROUTE) != (prev->src.addr.type == PF_ADDR_NOROUTE) || !PF_AEQ(&cur->src.addr.v.a.addr, &prev->src.addr.v.a.addr, 0) || !PF_AEQ(&cur->src.addr.v.a.mask, &prev->src.addr.v.a.mask, 0)) |