summaryrefslogtreecommitdiffstats
path: root/ip6t_DNPTV6.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-11-12 12:17:23 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-11-12 12:17:23 +0100
commit9f0da7662e647962f8ec3e1553cfdbae2d77af5b (patch)
tree9782e671dd7deb299f198e88988ad8a342f87787 /ip6t_DNPTV6.c
parent0344f2ec310d317dc5f31e5c066a7a141d504333 (diff)
downloadNPTv6-9f0da7662e647962f8ec3e1553cfdbae2d77af5b.tar
NPTv6-9f0da7662e647962f8ec3e1553cfdbae2d77af5b.zip
Allow using [SD]NPTV6 rules in INPUT/OUTOUT chains
Diffstat (limited to 'ip6t_DNPTV6.c')
-rw-r--r--ip6t_DNPTV6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6t_DNPTV6.c b/ip6t_DNPTV6.c
index 506d0a5..36752e4 100644
--- a/ip6t_DNPTV6.c
+++ b/ip6t_DNPTV6.c
@@ -67,7 +67,7 @@ static struct xt_target dnptv6_tg6_reg __read_mostly = {
.checkentry = dnptv6_tg6_check,
.targetsize = sizeof(struct ip6t_nptv6_info),
.table = "mangle",
- .hooks = (1 << NF_INET_PRE_ROUTING),
+ .hooks = (1 << NF_INET_PRE_ROUTING) | (1 << NF_INET_LOCAL_OUT),
.me = THIS_MODULE,
};