summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-eb-standalone.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-01-06 13:20:18 +0100
committerPhil Sutter <phil@nwl.cc>2020-05-11 14:28:28 +0200
commit6d8182e9c359ef3167167c5d5cc376da950e5edd (patch)
tree43447048c77288a955995ee94738cd8bc94b3acd /iptables/xtables-eb-standalone.c
parent80251bc2a56ed612188393a1e588c661ebd43da5 (diff)
nft: missing nft_fini() call in bridge family
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-eb-standalone.c')
-rw-r--r--iptables/xtables-eb-standalone.c2
1 files changed, 2 insertions, 0 deletions
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));