diff options
Diffstat (limited to 'iptables/xtables-restore.c')
-rw-r--r-- | iptables/xtables-restore.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c index 3de496f8..a33a6593 100644 --- a/iptables/xtables-restore.c +++ b/iptables/xtables-restore.c @@ -190,7 +190,6 @@ struct nft_xt_restore_cb restore_cb = { .chain_list = get_chain_list, .commit = nft_commit, .abort = nft_abort, - .chains_purge = nft_table_purge_chains, .table_flush = nft_table_flush, .chain_del = chain_delete, .do_command = do_commandx, @@ -245,10 +244,6 @@ void xtables_restore_parse(struct nft_handle *h, } in_table = 0; - /* Purge out unused chains in this table */ - if (!p->testing && cb->chains_purge) - cb->chains_purge(h, curtable, chain_list); - } else if ((buffer[0] == '*') && (!in_table)) { /* New table */ char *table; |