From 8b7c64d6ba156a99008fcd810cba874c73294333 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Apr 2008 11:48:25 +0200 Subject: Remove old functions, constants --- extensions/libxt_esp.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'extensions/libxt_esp.c') diff --git a/extensions/libxt_esp.c b/extensions/libxt_esp.c index f37c088a..82749f5b 100644 --- a/extensions/libxt_esp.c +++ b/extensions/libxt_esp.c @@ -12,10 +12,9 @@ static void esp_help(void) { printf( -"ESP v%s options:\n" +"esp match options:\n" " --espspi [!] spi[:spi]\n" -" match spi (range)\n", -IPTABLES_VERSION); +" match spi (range)\n"); } static const struct option esp_opts[] = { @@ -156,7 +155,7 @@ static void esp_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match esp_match = { .family = AF_INET, .name = "esp", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_esp)), .userspacesize = XT_ALIGN(sizeof(struct xt_esp)), .help = esp_help, @@ -170,7 +169,7 @@ static struct xtables_match esp_match = { static struct xtables_match esp_match6 = { .family = AF_INET6, .name = "esp", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_esp)), .userspacesize = XT_ALIGN(sizeof(struct xt_esp)), .help = esp_help, -- cgit v1.2.3