diff options
author | Phil Sutter <phil@nwl.cc> | 2019-08-21 10:42:19 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-11-25 23:31:00 +0100 |
commit | a5877a214b6bb2e16ffbbcfd7512ff5cdbf03906 (patch) | |
tree | 7b1be339190ff4b82b9c5c830a06390266e811b2 /xlate-test.py | |
parent | 441d80c4cfa713b8261947a2cb0e780537454e71 (diff) |
nft: Eliminate pointless calls to nft_family_ops_lookup()
If nft_handle is available, use its 'ops' field instead of performing a
new lookup. For the same reason, there is no need to pass ops pointer to
__nft_print_header().
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'xlate-test.py')
0 files changed, 0 insertions, 0 deletions