diff options
Diffstat (limited to 'libiptc/libip6tc.c')
-rw-r--r-- | libiptc/libip6tc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libiptc/libip6tc.c b/libiptc/libip6tc.c index b09d439c..91cd01c7 100644 --- a/libiptc/libip6tc.c +++ b/libiptc/libip6tc.c @@ -330,7 +330,10 @@ do_check(TC_HANDLE_T h, unsigned int line) } else if (strcmp(h->info.name, "mangle") == 0) { assert(h->info.valid_hooks == (1 << NF_IP6_PRE_ROUTING - | 1 << NF_IP6_LOCAL_OUT)); + | 1 << NF_IP6_POST_ROUTING + | 1 << NF_IP6_LOCAL_IN + | 1 << NF_IP6_LOCAL_OUT + | 1 << NF_IP6_FORWARD)); /* Hooks should be first three */ assert(h->info.hook_entry[NF_IP6_PRE_ROUTING] == 0); |