aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-04-10 08:28:08 +0000
committerGuy Harris <guy@alum.mit.edu>2005-04-10 08:28:08 +0000
commit8881cec2dfa1c15debc61e64f334a92c5d1b7d03 (patch)
tree575cd98f0e4349be1e768794f0e6c78e3ea6a3f5 /doc
parentb80343171516e7cfa3c2e3b0d4761217e2910336 (diff)
Make it slightly clearer that the bitwise AND operator evaluates to a
Boolean value that's true if any of the bits in question are set and false if none of them are, not to an integer or slice value with the only the bits set in both values set. svn path=/trunk/; revision=14033
Diffstat (limited to 'doc')
-rw-r--r--doc/ethereal-filter.pod.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ethereal-filter.pod.template b/doc/ethereal-filter.pod.template
index b96693aab9..52648035b2 100644
--- a/doc/ethereal-filter.pod.template
+++ b/doc/ethereal-filter.pod.template
@@ -267,6 +267,9 @@ When testing for TCP SYN packets, you can write:
tcp.flags & 0x02
+That expression will match all packets that contain a "tcp.flags" field
+with the 0x02 bit, i.e. the SYN bit, set.
+
Similarly, filtering for all WSP GET and extended GET methods is achieved with:
wsp.pdu_type & 0x40