summaryrefslogtreecommitdiffstats
path: root/lib/ipset_hash_ipportnet.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_ipportnet.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_ipportnet.c')
-rw-r--r--lib/ipset_hash_ipportnet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ipset_hash_ipportnet.c b/lib/ipset_hash_ipportnet.c
index 5a2d97c..c867e90 100644
--- a/lib/ipset_hash_ipportnet.c
+++ b/lib/ipset_hash_ipportnet.c
@@ -158,6 +158,7 @@ static struct ipset_type ipset_hash_ipportnet1 = {
.usage = hash_ipportnet1_usage,
.usagefn = ipset_port_usage,
+ .description = "SCTP and UDPLITE support",
};
static const char hash_ipportnet2_usage[] =
@@ -250,6 +251,7 @@ static struct ipset_type ipset_hash_ipportnet2 = {
.usage = hash_ipportnet2_usage,
.usagefn = ipset_port_usage,
+ .description = "Add/del range support",
};
static const struct ipset_arg hash_ipportnet3_add_args[] = {
@@ -355,6 +357,7 @@ static struct ipset_type ipset_hash_ipportnet3 = {
.usage = hash_ipportnet3_usage,
.usagefn = ipset_port_usage,
+ .description = "nomatch flag support",
};
void _init(void);