summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-09-18 17:00:18 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-30 23:50:49 +0100
commitd6a127cd5710f8c60e95bfd0378ca352c07140a9 (patch)
tree47f7dd7ac799ae19005a599c6d4dae4208306553 /iptables/xtables-restore.c
parentdbc05560e73d6df7f7013fa892810b9b8329aa1d (diff)
xtables: batch rule-set updates into one single netlink message
With this patch, all rule-set updates are put in one single batch of netlink messages that is sent to user-space using the new nfnetlink batch infrastructure. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-restore.c')
-rw-r--r--iptables/xtables-restore.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c
index 608e189b..06053f62 100644
--- a/iptables/xtables-restore.c
+++ b/iptables/xtables-restore.c
@@ -166,7 +166,6 @@ xtables_restore_main(int argc, char *argv[])
{
struct nft_handle h = {
.family = AF_INET, /* default to IPv4 */
- .commit = true,
};
char buffer[10240];
int c;