diff options
Diffstat (limited to 'iptables/xtables-standalone.c')
-rw-r--r-- | iptables/xtables-standalone.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables/xtables-standalone.c b/iptables/xtables-standalone.c index 9d5a6675..cb685d64 100644 --- a/iptables/xtables-standalone.c +++ b/iptables/xtables-standalone.c @@ -70,6 +70,9 @@ xtables_main(int argc, char *argv[]) } ret = do_commandx(&h, argc, argv, &table); + if (ret) + ret = nft_commit(&h); + if (!ret) { if (errno == EINVAL) { fprintf(stderr, "iptables: %s. " |