From 6d8182e9c359ef3167167c5d5cc376da950e5edd Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 6 Jan 2020 13:20:18 +0100 Subject: nft: missing nft_fini() call in bridge family Signed-off-by: Pablo Neira Ayuso Signed-off-by: Phil Sutter --- iptables/xtables-eb-standalone.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iptables') diff --git a/iptables/xtables-eb-standalone.c b/iptables/xtables-eb-standalone.c index a9081c78..ff74ddbb 100644 --- a/iptables/xtables-eb-standalone.c +++ b/iptables/xtables-eb-standalone.c @@ -53,6 +53,8 @@ int xtables_eb_main(int argc, char *argv[]) if (ret) ret = nft_bridge_commit(&h); + nft_fini(&h); + if (!ret) fprintf(stderr, "ebtables: %s\n", nft_strerror(errno)); -- cgit v1.2.3