summaryrefslogtreecommitdiffstats
path: root/iptables-standalone.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-standalone.c')
-rw-r--r--iptables-standalone.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-standalone.c b/iptables-standalone.c
index c06b2862..91908732 100644
--- a/iptables-standalone.c
+++ b/iptables-standalone.c
@@ -51,8 +51,9 @@ main(int argc, char *argv[])
struct iptc_handle *handle = NULL;
program_name = "iptables";
- program_version = XTABLES_VERSION;
+ program_version = IPTABLES_VERSION;
+ xtables_program_name = program_name;
xtables_init();
#ifdef NO_SHARED_LIBS
init_extensions();