diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-25 14:51:54 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-25 14:51:54 +0000 |
commit | b26649e7813ae62c90504ea5e8befc0590465c82 (patch) | |
tree | b96e75864aeaa0f266c52687fd256b1759939efe /ebtables.c | |
parent | 666ad4281cd3139244dc6c2ae79695490e796dd3 (diff) |
allow checking for --xxxx--target RETURN rules on base chains
Diffstat (limited to 'ebtables.c')
-rw-r--r-- | ebtables.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -703,7 +703,9 @@ static void check_for_loops() if (!(replace.valid_hooks & (1 << i))) continue; entries = nr_to_chain(i); - entries->hook_mask = (1 << i); + // (1 << NF_BR_NUMHOOKS) implies it's a standard chain + // (usefull in the final_check() funtions) + entries->hook_mask = (1 << i) | (1 << NF_BR_NUMHOOKS); chain_nr = i; e = entries->entries; |