diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-08-14 16:10:34 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-08-14 16:10:34 +0200 |
commit | 23adebc1bc295b4d15dc3cc87413f1d8a0c5f281 (patch) | |
tree | 190f8507cbfdeaf6d555de85c36e5db4e5054d42 | |
parent | 5a7bfa4c830ab7263c40432fbd9223ee44dc69f3 (diff) |
Manpage fix: not just identical, but compatible type of sets can be swapped
Reported by Quentin Armitage, netfilter bugzilla id #843.
-rw-r--r-- | src/ipset.8 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ipset.8 b/src/ipset.8 index 7bb55e1..4353b9f 100644 --- a/src/ipset.8 +++ b/src/ipset.8 @@ -163,7 +163,7 @@ must not exist. \fBw\fP, \fBswap\fP \fISETNAME\-FROM\fP \fISETNAME\-TO\fP Swap the content of two sets, or in another words, exchange the name of two sets. The referred sets must exist and -identical type of sets can be swapped only. +compatible type of sets can be swapped only. .TP \fBhelp\fP [ \fITYPENAME\fP ] Print help and set type specific help if @@ -247,7 +247,7 @@ addresses or service numbers, then the host name or service name must be enclose in square brackets. Example: .IP ipset add foo [test\-hostname],[ftp\-data] -.PP +.PP In the case of host names the DNS resolver is called internally by \fBipset\fR but if it returns multiple IP addresses, only the first one is used. @@ -275,9 +275,9 @@ The timeout value of already added elements can be changed by readding the eleme using the \fB\-exist\fR option. Example: .IP ipset create test hash:ip timeout 300 -.IP +.IP ipset add test 192.168.0.1 timeout 60 -.IP +.IP ipset \-exist add test 192.168.0.1 timeout 600 .PP .SS nomatch @@ -301,7 +301,7 @@ unless the packet and byte counter values are explicitly specified by the to a set with non\-zero counter values: .IP ipset create foo hash:ip counters -.IP +.IP ipset add foo 192.168.1.1 packets 42 bytes 1024 .PP .SH "SET TYPES" |