diff options
Diffstat (limited to 'iptables/xtables-save.c')
-rw-r--r-- | iptables/xtables-save.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iptables/xtables-save.c b/iptables/xtables-save.c index 2cc5a7c7..98e004af 100644 --- a/iptables/xtables-save.c +++ b/iptables/xtables-save.c @@ -6,6 +6,7 @@ * This code is distributed under the terms of GNU GPL v2 * */ +#include "config.h" #include <getopt.h> #include <errno.h> #include <stdio.h> @@ -80,7 +81,7 @@ __do_output(struct nft_handle *h, const char *tablename, bool counters) time_t now = time(NULL); printf("# Generated by xtables-save v%s on %s", - IPTABLES_VERSION, ctime(&now)); + PACKAGE_VERSION, ctime(&now)); printf("*%s\n", tablename); /* Dump out chain names first, @@ -266,7 +267,7 @@ static int __ebt_save(struct nft_handle *h, const char *tablename, bool counters if (first) { now = time(NULL); printf("# Generated by ebtables-save v%s on %s", - IPTABLES_VERSION, ctime(&now)); + PACKAGE_VERSION, ctime(&now)); first = false; } printf("*%s\n", tablename); |