summaryrefslogtreecommitdiffstats
path: root/src/ipset_hash_ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipset_hash_ip.c')
-rw-r--r--src/ipset_hash_ip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ipset_hash_ip.c b/src/ipset_hash_ip.c
index 6609eea..be64189 100644
--- a/src/ipset_hash_ip.c
+++ b/src/ipset_hash_ip.c
@@ -72,7 +72,10 @@ static const char hash_ip_usage[] =
" [netmask CIDR] [timeout VALUE]\n"
"add SETNAME IP|IP/CIDR|FROM-TO [timeout VALUE]\n"
"del SETNAME IP|IP/CIDR|FROM-TO\n"
-"test SETNAME IP\n";
+"test SETNAME IP\n\n"
+"where depending on the INET family\n"
+" IP, FROM and TO are IPv4 or IPv6 addresses (or hostnames),\n"
+" CIDR is a valid IPv4 or IPv6 CIDR prefix.\n";
struct ipset_type ipset_hash_ip0 = {
.name = "hash:ip",