aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluvarqpp <lubomir.varga@qpp.sk>2021-02-03 14:46:48 +0100
committerGitHub <noreply@github.com>2021-02-03 14:46:48 +0100
commit2654a2cda9d4b5092c59b8bbe298413babd83eb3 (patch)
treec925fe1f3a45e5866c931bef9d25dda808f23eaf
parentcf4263cabfffd1e185d76dbff5d1180321cfb22c (diff)
Make portrange definition more acurate
Add "(inclusive)" information to portrange keyword description.
-rw-r--r--pcap-filter.manmisc.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap-filter.manmisc.in b/pcap-filter.manmisc.in
index e0f883d5..61f0b092 100644
--- a/pcap-filter.manmisc.in
+++ b/pcap-filter.manmisc.in
@@ -246,7 +246,7 @@ True if the packet has a source port value of \fIport\fP.
True if either the source or destination port of the packet is \fIport\fP.
.IP "\fBdst portrange \fIport1-port2\fR"
True if the packet is IPv4 TCP, IPv4 UDP, IPv6 TCP or IPv6 UDP and has a
-destination port value between \fIport1\fP and \fIport2\fP.
+destination port value between \fIport1\fP and \fIport2\fP (inclusive).
.I port1
and
.I port2
@@ -256,10 +256,10 @@ parameter for
.BR port .
.IP "\fBsrc portrange \fIport1-port2\fR"
True if the packet has a source port value between \fIport1\fP and
-\fIport2\fP.
+\fIport2\fP (inclusive).
.IP "\fBportrange \fIport1-port2\fR"
True if either the source or destination port of the packet is between
-\fIport1\fP and \fIport2\fP.
+\fIport1\fP and \fIport2\fP (inclusive).
.IP
Any of the above port or port range expressions can be prepended with
the keywords, \fBtcp\fP or \fBudp\fP, as in: