dissect_rtp_heur: prevent a 'false positive' when trying stun dissection.
authorBill Meier <wmeier@newsguy.com>
Thu, 12 Feb 2009 17:30:15 +0000 (17:30 -0000)
committerBill Meier <wmeier@newsguy.com>
Thu, 12 Feb 2009 17:30:15 +0000 (17:30 -0000)
commit5817e6002ba2906d33428c4607092671728821f2
tree8bd4de83f413bbdb54e4e48f8c0ad4eac4e95eaf
parent18911189065efe67040fe629a2bbaa31387118df
dissect_rtp_heur: prevent a 'false positive' when trying stun dissection.

Specifically: when dissect_rtp_heur calls the stun dissector:
- Don't do a 'data' dissection if stun dissection fails;
  (ie: use call_dissector_only instead of call_dissector).
- return the stun dissector success/fail status to the caller of dissect_rtp_heur;
  (Done by registering and calling the heuristic version of the stun dissector).
Also: use call_dissector_only for each of the dissectors called by dissect_rtp_heur
 (altho it really makes no difference at this point except for the call to the
  stun dissector).

svn path=/trunk/; revision=27443
epan/dissectors/packet-rtp.c
epan/dissectors/packet-stun.c