diff options
Diffstat (limited to 'iptables/xtables-standalone.c')
-rw-r--r-- | iptables/xtables-standalone.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/xtables-standalone.c b/iptables/xtables-standalone.c index f746c902..28416117 100644 --- a/iptables/xtables-standalone.c +++ b/iptables/xtables-standalone.c @@ -46,6 +46,8 @@ xtables_main(int argc, char *argv[]) char *table = "filter"; struct nft_handle h; + memset(&h, 0, sizeof(h)); + iptables_globals.program_name = "xtables"; ret = xtables_init_all(&xtables_globals, NFPROTO_IPV4); if (ret < 0) { |