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_netiface.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ipset_hash_netiface.c') diff --git a/lib/ipset_hash_netiface.c b/lib/ipset_hash_netiface.c index 298ce2a..c14d4f2 100644 --- a/lib/ipset_hash_netiface.c +++ b/lib/ipset_hash_netiface.c @@ -116,6 +116,7 @@ static struct ipset_type ipset_hash_netiface0 = { }, .usage = hash_netiface_usage, + .description = "Initial revision", }; static const struct ipset_arg hash_netiface1_add_args[] = { @@ -198,6 +199,7 @@ static struct ipset_type ipset_hash_netiface1 = { }, .usage = hash_netiface1_usage, + .description = "nomatch flag support", }; static struct ipset_type ipset_hash_netiface2 = { @@ -255,6 +257,7 @@ static struct ipset_type ipset_hash_netiface2 = { }, .usage = hash_netiface1_usage, + .description = "/0 network support", }; void _init(void); -- cgit v1.2.3