summaryrefslogtreecommitdiffstats
path: root/src/ipset_hash_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipset_hash_net.c')
-rw-r--r--src/ipset_hash_net.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ipset_hash_net.c b/src/ipset_hash_net.c
index c14652d..e8891c1 100644
--- a/src/ipset_hash_net.c
+++ b/src/ipset_hash_net.c
@@ -64,7 +64,10 @@ static const char hash_net_usage[] =
" [timeout VALUE]\n"
"add SETNAME IP[/CIDR] [timeout VALUE]\n"
"del SETNAME IP[/CIDR]\n"
-"test SETNAME IP[/CIDR]\n";
+"test SETNAME IP[/CIDR]\n\n"
+"where depending on the INET family\n"
+" IP is an IPv4 or IPv6 address (or hostname),\n"
+" CIDR is a valid IPv4 or IPv6 CIDR prefix.\n";
struct ipset_type ipset_hash_net0 = {
.name = "hash:net",