diff options
author | Phil Sutter <phil@nwl.cc> | 2019-08-30 11:47:42 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-09-23 13:05:05 +0200 |
commit | 3897b008281888f7905cc1857ccb316cdf686061 (patch) | |
tree | 77822e93ce2e27510ee379efd1e5f43778206981 /iptables/xtables-eb-standalone.c | |
parent | 1d05b989b3ec774c52cdb1fee41d8ee5f382b756 (diff) |
nft: Introduce nft_bridge_commit()
No need to check family value from nft_commit() if we can have a
dedicated callback for bridge family.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-eb-standalone.c')
-rw-r--r-- | iptables/xtables-eb-standalone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-eb-standalone.c b/iptables/xtables-eb-standalone.c index fb3daba0..a9081c78 100644 --- a/iptables/xtables-eb-standalone.c +++ b/iptables/xtables-eb-standalone.c @@ -51,7 +51,7 @@ int xtables_eb_main(int argc, char *argv[]) ret = do_commandeb(&h, argc, argv, &table, false); if (ret) - ret = nft_commit(&h); + ret = nft_bridge_commit(&h); if (!ret) fprintf(stderr, "ebtables: %s\n", nft_strerror(errno)); |