summaryrefslogtreecommitdiff
path: root/docbook
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-08-22 22:17:37 +0000
committerGuy Harris <guy@alum.mit.edu>2008-08-22 22:17:37 +0000
commit6f9b405534636ee1b742d607e7d3a8a01f252426 (patch)
tree4d88cb1eb718591352940c562928db727e139dfc /docbook
parent7cf79249e036682783e57e46a23c00755a520d5e (diff)
downloadwireshark-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