From 7a791562b143c0ff8634fbf28020558e666bb04c Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Sat, 8 Sep 2012 22:55:04 +0200 Subject: Help prints list type revision and terse description In order to catch kernel/userspace revision mismatch, better print all available data. --- lib/ipset_hash_netport.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ipset_hash_netport.c') 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); -- cgit v1.2.3