artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd39141
)
fix typo that broke rdr rules (without pass) with non-TCP/UDP/ICMP protocols
author
david
<david@openbsd.org>
Mon, 21 Jul 2008 15:56:55 +0000
(15:56 +0000)
committer
david
<david@openbsd.org>
Mon, 21 Jul 2008 15:56:55 +0000
(15:56 +0000)
ok mcbride@ henning@
sys/net/pf.c
patch
|
blob
|
history
diff --git
a/sys/net/pf.c
b/sys/net/pf.c
index
6afcea3
..
039b4ab
100644
(file)
--- a/
sys/net/pf.c
+++ b/
sys/net/pf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: pf.c,v 1.61
0 2008/07/14 13:29:45 henning
Exp $ */
+/* $OpenBSD: pf.c,v 1.61
1 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->
d
idx].v4.s_addr, 0);
+ nk->addr[pd->
s
idx].v4.s_addr, 0);
if (PF_ANEQ(daddr,
&nk->addr[pd->didx], AF_INET))