diff options
author | Phil Sutter <phil@nwl.cc> | 2021-09-27 16:59:49 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-10-20 11:32:54 +0200 |
commit | 2e6014c739852daf8c0c42caeef01d3966622c4b (patch) | |
tree | 72f6ba93582c41d49b3f76f90dae6aeefd37055b /iptables/xtables-eb.c | |
parent | db90ff64fb89144d1e2ba18bc0569486cd5af9a3 (diff) |
nft: Introduce builtin_tables_lookup()
The set of builtin tables to use is fully determined by the given family
so just look it up instead of having callers pass it explicitly.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-eb.c')
-rw-r--r-- | iptables/xtables-eb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index 23023ce1..1ed6bcd8 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -672,7 +672,7 @@ int nft_init_eb(struct nft_handle *h, const char *pname) init_extensionsb(); #endif - if (nft_init(h, NFPROTO_BRIDGE, xtables_bridge) < 0) + if (nft_init(h, NFPROTO_BRIDGE) < 0) xtables_error(OTHER_PROBLEM, "Could not initialize nftables layer."); |