summaryrefslogtreecommitdiffstats
path: root/iptables-standalone.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2009-02-11 16:28:31 -0500
committerJan Engelhardt <jengelh@medozas.de>2009-02-12 18:54:37 +0100
commit617d3d140f4739558dce2ef8ed01aef251cf5487 (patch)
tree66fe7689d4918ba19c1c560c5ff069c702fa026e /iptables-standalone.c
parente37c2d0b2cca00f4dfa77b52df065aad304da59b (diff)
libxtables: set names of programs
Set proper name of application. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Diffstat (limited to 'iptables-standalone.c')
-rw-r--r--iptables-standalone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables-standalone.c b/iptables-standalone.c
index ece7cf42..007f2c2d 100644
--- a/iptables-standalone.c
+++ b/iptables-standalone.c
@@ -56,6 +56,7 @@ main(int argc, char *argv[])
xtables_program_name = program_name;
xtables_init();
xtables_set_nfproto(NFPROTO_IPV4);
+ iptables_globals.program_name = "iptables";
#ifdef NO_SHARED_LIBS
init_extensions();
#endif