From dacafa55379fd98212031d8c559096c91d7ce93b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 27 Jan 2009 20:56:23 +0100 Subject: libxtables: prefix/order - program_name Split XTABLES_VERSION into xtables and iptables, and encode the xtables soversion into the extensions instead. This makes it possible to upgrade iptables without having to recompile 3rd-party extensions (if the libxtables version matches, of course). Signed-off-by: Jan Engelhardt --- iptables-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables-xml.c') diff --git a/iptables-xml.c b/iptables-xml.c index 6481b8e0..a3f69872 100644 --- a/iptables-xml.c +++ b/iptables-xml.c @@ -643,7 +643,7 @@ main(int argc, char *argv[]) FILE *in; program_name = "iptables-xml"; - program_version = XTABLES_VERSION; + program_version = IPTABLES_VERSION; line = 0; while ((c = getopt_long(argc, argv, "cvh", options, NULL)) != -1) { @@ -656,7 +656,7 @@ main(int argc, char *argv[]) verbose = 1; break; case 'h': - print_usage("iptables-xml", XTABLES_VERSION); + print_usage("iptables-xml", IPTABLES_VERSION); break; } } -- cgit v1.2.3