From 3897b008281888f7905cc1857ccb316cdf686061 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 30 Aug 2019 11:47:42 +0200 Subject: 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 Acked-by: Pablo Neira Ayuso --- iptables/xtables-eb-standalone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/xtables-eb-standalone.c') 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)); -- cgit v1.2.3