From 6cd49745931f42cfe2280bf78e483035c3c5e2e6 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Tue, 15 Apr 2008 12:01:06 +0000 Subject: [PATCH 08/10] Remove old functions, constants --- extensions/libxt_string.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'extensions/libxt_string.c') diff --git a/extensions/libxt_string.c b/extensions/libxt_string.c index dc2cd9d..82deb2a 100644 --- a/extensions/libxt_string.c +++ b/extensions/libxt_string.c @@ -34,13 +34,12 @@ static void string_help(void) { printf( -"STRING match v%s options:\n" +"string match options:\n" "--from Offset to start searching from\n" "--to Offset to stop searching\n" "--algo Algorithm\n" "--string [!] string Match a string in a packet\n" -"--hex-string [!] string Match a hex string in a packet\n", -IPTABLES_VERSION); +"--hex-string [!] string Match a hex string in a packet\n"); } static const struct option string_opts[] = { @@ -328,7 +327,7 @@ static void string_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match string_match = { .name = "string", .family = AF_UNSPEC, - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_string_info)), .userspacesize = offsetof(struct xt_string_info, config), .help = string_help, -- cgit v1.2.3