summaryrefslogtreecommitdiffstats
path: root/lib/ipset_hash_netport.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_netport.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_netport.c')
-rw-r--r--lib/ipset_hash_netport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ipset_hash_netport.c b/lib/ipset_hash_netport.c
index e638756..2319738 100644
--- a/lib/ipset_hash_netport.c
+++ b/lib/ipset_hash_netport.c
@@ -120,6 +120,7 @@ static struct ipset_type ipset_hash_netport1 = {
.usage = hash_netport1_usage,
.usagefn = ipset_port_usage,
+ .description = "SCTP and UDPLITE support",
};
static const char hash_netport2_usage[] =
@@ -196,6 +197,7 @@ static struct ipset_type ipset_hash_netport2 = {
.usage = hash_netport2_usage,
.usagefn = ipset_port_usage,
+ .description = "Add/del range support",
};
static const struct ipset_arg hash_netport3_add_args[] = {
@@ -285,6 +287,7 @@ static struct ipset_type ipset_hash_netport3 = {
.usage = hash_netport3_usage,
.usagefn = ipset_port_usage,
+ .description = "nomatch flag support",
};
void _init(void);