From 9f0da7662e647962f8ec3e1553cfdbae2d77af5b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 12 Nov 2011 12:17:23 +0100 Subject: Allow using [SD]NPTV6 rules in INPUT/OUTOUT chains --- ip6t_DNPTV6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip6t_DNPTV6.c') 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, }; -- cgit v1.2.3