summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_length.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_length.c')
-rw-r--r--extensions/libxt_length.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/extensions/libxt_length.c b/extensions/libxt_length.c
index 16e00bd9..ec305ae4 100644
--- a/extensions/libxt_length.c
+++ b/extensions/libxt_length.c
@@ -12,11 +12,9 @@
static void length_help(void)
{
printf(
-"length v%s options:\n"
+"length match options:\n"
"[!] --length length[:length] Match packet length against value or range\n"
-" of values (inclusive)\n",
-IPTABLES_VERSION);
-
+" of values (inclusive)\n");
}
static const struct option length_opts[] = {
@@ -127,7 +125,7 @@ static void length_save(const void *ip, const struct xt_entry_match *match)
static struct xtables_match length_match = {
.family = AF_UNSPEC,
.name = "length",
- .version = IPTABLES_VERSION,
+ .version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_length_info)),
.userspacesize = XT_ALIGN(sizeof(struct xt_length_info)),
.help = length_help,