summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-save.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/iptables-save.c')
-rw-r--r--iptables/iptables-save.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables/iptables-save.c b/iptables/iptables-save.c
index 826cb1e4..c7251e35 100644
--- a/iptables/iptables-save.c
+++ b/iptables/iptables-save.c
@@ -5,6 +5,7 @@
* This code is distributed under the terms of GNU GPL v2
*
*/
+#include "config.h"
#include <getopt.h>
#include <errno.h>
#include <stdio.h>
@@ -90,7 +91,7 @@ static int do_output(struct iptables_save_cb *cb, const char *tablename)
time_t now = time(NULL);
printf("# Generated by %s v%s on %s",
- xt_params->program_name, IPTABLES_VERSION, ctime(&now));
+ xt_params->program_name, PACKAGE_VERSION, ctime(&now));
printf("*%s\n", tablename);
/* Dump out chain names first,