commit | d6b6cb1d3e6f78d55c2d4043d77d0d8def3f3b99 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Mar 17 13:21:42 2015 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Mar 17 13:48:04 2015 +0100 |
tree | 62e6cdaa684559273f0f7e9d46e29fc57476084a | |
parent | d8bdff59cea141d2e5f7e98c1b11d3e0271640bd [diff] |
netfilter: nf_tables: allow to change chain policy without hook if it exists If there's an existing base chain, we have to allow to change the default policy without indicating the hook information. However, if the chain doesn't exists, we have to enforce the presence of the hook attribute. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>