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_connbytes.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'extensions/libxt_connbytes.c') diff --git a/extensions/libxt_connbytes.c b/extensions/libxt_connbytes.c index e6cb1f40..64faa8f1 100644 --- a/extensions/libxt_connbytes.c +++ b/extensions/libxt_connbytes.c @@ -12,11 +12,10 @@ static void connbytes_help(void) { printf( -"connbytes v%s options:\n" +"connbytes match options:\n" " [!] --connbytes from:[to]\n" " --connbytes-dir [original, reply, both]\n" -" --connbytes-mode [packets, bytes, avgpkt]\n" -"\n", IPTABLES_VERSION); +" --connbytes-mode [packets, bytes, avgpkt]\n"); } static const struct option connbytes_opts[] = { @@ -188,7 +187,7 @@ static void connbytes_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match connbytes_match = { .family = AF_INET, .name = "connbytes", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_connbytes_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_connbytes_info)), .help = connbytes_help, @@ -202,7 +201,7 @@ static struct xtables_match connbytes_match = { static struct xtables_match connbytes_match6 = { .family = AF_INET6, .name = "connbytes", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_connbytes_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_connbytes_info)), .help = connbytes_help, -- cgit v1.2.3