diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-04-10 08:28:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-04-10 08:28:08 +0000 |
commit | 8881cec2dfa1c15debc61e64f334a92c5d1b7d03 (patch) | |
tree | 575cd98f0e4349be1e768794f0e6c78e3ea6a3f5 /doc | |
parent | b80343171516e7cfa3c2e3b0d4761217e2910336 (diff) | |
download | wireshark-8881cec2dfa1c15debc61e64f334a92c5d1b7d03.tar.gz wireshark-8881cec2dfa1c15debc61e64f334a92c5d1b7d03.tar.bz2 wireshark-8881cec2dfa1c15debc61e64f334a92c5d1b7d03.zip |
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.template | 3 |
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 |