Replace the old "erfatm" preference for the ERF dissector with an
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 14 Jul 2008 18:56:25 +0000 (18:56 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 14 Jul 2008 18:56:25 +0000 (18:56 +0000)
commitb1ef1661408add06974ea0ae1a3a239345d7c61b
tree360881ebdd536fdc29a3aebc003c009b72154f15
parent5abc12e2b721d44667a26a05915d1393a49f7764
Replace the old "erfatm" preference for the ERF dissector with an
"aal5_type" dissector, which offers only "guess the traffic type" and
"LLC multiplexed" as options, defaulting to "guess the type".

Add a separate preference to control whether to treat single ATM cells
as raw data or as the first cell of an AAL5 PDU (and dissecting them as
short AAL5 PDUs).

Don't reach inside the tvbuff to get the data and the length; use
tvb_length() and tvb_get_ptr().

Pass the data *after* the AAL5 header to the "guess the traffic type"
routine.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25736 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-erf.c
epan/prefs.c