summaryrefslogtreecommitdiffstats
path: root/lib/ipset_hash_net.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-09-08 22:55:04 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-09-10 21:24:54 +0200
commit7a791562b143c0ff8634fbf28020558e666bb04c (patch)
tree7ed09ce8642707c5c3aed24d9af8b919758c7324 /lib/ipset_hash_net.c
parentb60b8e0e3a1dfbe664d693512d978e2cd1880704 (diff)
Help prints list type revision and terse description
In order to catch kernel/userspace revision mismatch, better print all available data.
Diffstat (limited to 'lib/ipset_hash_net.c')
-rw-r--r--lib/ipset_hash_net.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ipset_hash_net.c b/lib/ipset_hash_net.c
index 789bcd2..4846412 100644
--- a/lib/ipset_hash_net.c
+++ b/lib/ipset_hash_net.c
@@ -106,6 +106,7 @@ static struct ipset_type ipset_hash_net0 = {
},
.usage = hash_net0_usage,
+ .description = "Initial revision",
};
static const char hash_net1_usage[] =
@@ -160,6 +161,7 @@ static struct ipset_type ipset_hash_net1 = {
},
.usage = hash_net1_usage,
+ .description = "Add/del range support",
};
static const struct ipset_arg hash_net2_add_args[] = {
@@ -227,6 +229,7 @@ static struct ipset_type ipset_hash_net2 = {
},
.usage = hash_net2_usage,
+ .description = "nomatch flag support",
};
void _init(void);