projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b591cb
)
[NETFILTER]: Fix DNAT in LOCAL_OUT
author
Patrick McHardy
<kaber@trash.net>
Mon, 10 Apr 2006 05:38:29 +0000
(22:38 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 10 Apr 2006 05:38:29 +0000
(22:38 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_nat_rule.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/ip_nat_rule.c
b/net/ipv4/netfilter/ip_nat_rule.c
index efba8c4e42e03e63cf166e9ad80acdf613a00aa6..1aba926c1cb05444d57dd9cc695fb9d999f5e824 100644
(file)
--- a/
net/ipv4/netfilter/ip_nat_rule.c
+++ b/
net/ipv4/netfilter/ip_nat_rule.c
@@
-279,7
+279,7
@@
static struct ipt_target ipt_dnat_reg = {
.target = ipt_dnat_target,
.targetsize = sizeof(struct ip_nat_multi_range_compat),
.table = "nat",
- .hooks =
1 << NF_IP_PRE_ROUTING
,
+ .hooks =
(1 << NF_IP_PRE_ROUTING) | (1 << NF_IP_LOCAL_OUT)
,
.checkentry = ipt_dnat_checkentry,
};