summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-19 10:18:59 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-19 10:18:59 +0000
commit770ac1cdcbe91734731d1b9a038a1ec4853e58b8 (patch)
tree4080fa478ad4af9b3fb4340f721c93c7adbd2785 /sys/net
parent4531a4ae3c72aa14c4094bf635c720bf94896085 (diff)
add handling of skip steps for urpf-failed addresses.
ok dharthmei@, henning@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 1674af2c81d..b0026d16b99 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.525 2007/02/14 00:53:48 jsg Exp $ */
+/* $OpenBSD: pf.c,v 1.526 2007/02/19 10:18:58 pyr Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1296,6 +1296,7 @@ pf_addr_wrap_neq(struct pf_addr_wrap *aw1, struct pf_addr_wrap *aw2)
case PF_ADDR_DYNIFTL:
return (aw1->p.dyn->pfid_kt != aw2->p.dyn->pfid_kt);
case PF_ADDR_NOROUTE:
+ case PF_ADDR_URPFFAILED:
return (0);
case PF_ADDR_TABLE:
return (aw1->p.tbl != aw2->p.tbl);