summaryrefslogtreecommitdiffstats
path: root/iptables/nft.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-12-30 20:06:08 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-01-09 17:22:11 +0100
commitfae77a24634365b18687a5f09357dbf4aaee2bc0 (patch)
tree67c7e7fb55d8f755702b448dec4ee9c4ad52b695 /iptables/nft.h
parent039b04896521026d1cb52d60dbacb6ee5226c02d (diff)
nft: Simplify nft_is_chain_compatible()
Make use of nft_{table,chain}_builtin_find() instead of open-coding the list traversal. Since code is pretty obvious now, drop the comments added earlier. Fixes: e774b15299c27 ("nft: Review is_*_compatible() routines") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
0 files changed, 0 insertions, 0 deletions