diff options
author | Phil Sutter <phil@nwl.cc> | 2018-12-20 16:09:05 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-27 19:18:21 +0100 |
commit | e774b15299c271a4c7570899591cf1b7960477ea (patch) | |
tree | bb4632bfae2adfcf1bdf699ef6f9a205d57a7211 /extensions/libipt_TTL.t | |
parent | 9523b2e9dee3d9b4439214092c496542ce9f434e (diff) |
nft: Review is_*_compatible() routines
- Call to nft_table_builtin_find() in nft_is_table_compatible() is not
needed, as it is repeated in the latter call to nft_chain_list_get()
by nft_are_chains_compatible().
- Turn nft_is_chain_compatible(), nft_is_rule_compatible() and
nft_is_expr_compatible() into callbacks for use with respective
foreach functions.
- nft_are_chains_compatible() is not needed anymore due to foreach
function use.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libipt_TTL.t')
0 files changed, 0 insertions, 0 deletions