diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-08-22 22:17:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-08-22 22:17:37 +0000 |
commit | 6f9b405534636ee1b742d607e7d3a8a01f252426 (patch) | |
tree | 4d88cb1eb718591352940c562928db727e139dfc /docbook | |
parent | 7cf79249e036682783e57e46a23c00755a520d5e (diff) | |
download | wireshark-6f9b405534636ee1b742d607e7d3a8a01f252426.tar.gz |
One set of tests for whether a packet looks like a STUN2 packet
suffices; have the heuristic dissector call the message dissector and
return FALSE if the message dissector returns 0 (meaning it's not a
STUN2 packet) and TRUE otherwise.
New-style dissectors don't return a Boolean, they return 0 if the packet
isn't a packet for that protocol and the number of bytes dissected
otherwise. (Yes, that's a problem if the length of the tvbuff handed to
the dissector is 0; that's why new-style dissectors aren't yet the
default.)
svn path=/trunk/; revision=26060
Diffstat (limited to 'docbook')
0 files changed, 0 insertions, 0 deletions