diff options
Diffstat (limited to 'iptables-save.c')
-rw-r--r-- | iptables-save.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iptables-save.c b/iptables-save.c index e615de99..d08ec4b2 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -74,7 +74,7 @@ static int do_output(const char *tablename) time_t now = time(NULL); printf("# Generated by iptables-save v%s on %s", - XTABLES_VERSION, ctime(&now)); + IPTABLES_VERSION, ctime(&now)); printf("*%s\n", tablename); /* Dump out chain names first, @@ -137,8 +137,9 @@ main(int argc, char *argv[]) int c; program_name = "iptables-save"; - program_version = XTABLES_VERSION; + program_version = IPTABLES_VERSION; + xtables_program_name = program_name; xtables_init(); #ifdef NO_SHARED_LIBS init_extensions(); |