summaryrefslogtreecommitdiffstats
path: root/lib/ipset_hash_netiface.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_netiface.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_netiface.c')
-rw-r--r--lib/ipset_hash_netiface.c3
1 files changed, 3 insertions, 0 deletions
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);