diff options
author | David Krause <david@cvs.openbsd.org> | 2008-07-21 15:56:56 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2008-07-21 15:56:56 +0000 |
commit | 5df90e323904d28b81f4deb8e3e2fc20baa335f9 (patch) | |
tree | 258cb0d2b62e2dd33b68d34f9c714ed6e0b1c5f4 | |
parent | e1e0c9cef9e2def6433ae6251840b10111044db8 (diff) |
fix typo that broke rdr rules (without pass) with non-TCP/UDP/ICMP protocols
ok mcbride@ henning@
-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 6afcea34723..039b4ab7a16 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.610 2008/07/14 13:29:45 henning Exp $ */ +/* $OpenBSD: pf.c,v 1.611 2008/07/21 15:56:55 david Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -3160,7 +3160,7 @@ pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, &nk->addr[pd->sidx], AF_INET)) pf_change_a(&saddr->v4.s_addr, pd->ip_sum, - nk->addr[pd->didx].v4.s_addr, 0); + nk->addr[pd->sidx].v4.s_addr, 0); if (PF_ANEQ(daddr, &nk->addr[pd->didx], AF_INET)) |