diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-17 21:32:29 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-17 21:32:29 +0100 |
commit | 593d2082912a9fdef12f2e69e40b5505d358690a (patch) | |
tree | 09c855685d05dbdd2fdca21c75545ae14447ce52 /src/ipset_hash_ip.c | |
parent | 984023490f88346e58db68d77489e67b0c6c4ce8 (diff) |
Updated help texts for the hash:ip and list:set types.
Diffstat (limited to 'src/ipset_hash_ip.c')
-rw-r--r-- | src/ipset_hash_ip.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ipset_hash_ip.c b/src/ipset_hash_ip.c index dfef47f..0af65b7 100644 --- a/src/ipset_hash_ip.c +++ b/src/ipset_hash_ip.c @@ -70,13 +70,14 @@ static const char hash_ip_usage[] = " [family inet|inet6]\n" " [hashsize VALUE] [maxelem VALUE]\n" " [netmask CIDR] [timeout VALUE]\n" -"add SETNAME IP|IP/CIDR|FROM-TO [timeout VALUE]\n" -"del SETNAME IP|IP/CIDR|FROM-TO\n" +"add SETNAME IP [timeout VALUE]\n" +"del 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" +" IP is a valid IPv4 or IPv6 address (or hostname),\n" " CIDR is a valid IPv4 or IPv6 CIDR prefix.\n" -" Adding/deleting multiple elements is supported for IPv4 only.\n"; +" Adding/deleting multiple elements in IP/CIDR or FROM-TO form\n" +" is supported for IPv4.\n"; struct ipset_type ipset_hash_ip0 = { .name = "hash:ip", |