From: Pablo Neira Ayuso Date: Sat, 9 Mar 2013 00:04:29 +0000 (+0100) Subject: xtables-standalone: fix error message X-Git-Tag: v1.6.0~111^2~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1ee3f1849436d81579632a1cc8ba6a4b878fc3c;p=thirdparty%2Fiptables.git xtables-standalone: fix error message xtables -m tcp -h (nil) v1.4.15: ... ^^^^^ Signed-off-by: Pablo Neira Ayuso --- diff --git a/iptables/xtables-standalone.c b/iptables/xtables-standalone.c index 28416117..4299506a 100644 --- a/iptables/xtables-standalone.c +++ b/iptables/xtables-standalone.c @@ -48,12 +48,12 @@ xtables_main(int argc, char *argv[]) memset(&h, 0, sizeof(h)); - iptables_globals.program_name = "xtables"; + xtables_globals.program_name = "xtables"; ret = xtables_init_all(&xtables_globals, NFPROTO_IPV4); if (ret < 0) { fprintf(stderr, "%s/%s Failed to initialize xtables\n", - iptables_globals.program_name, - iptables_globals.program_version); + xtables_globals.program_name, + xtables_globals.program_version); exit(1); } #if defined(ALL_INCLUSIVE) || defined(NO_SHARED_LIBS)