Do all the missing dissectors the same way.

Oh, and there's no dissector registered as "atm" - and, if there were,
it probably wouldn't be able to handle AAL5 packets by themselves, as
you'd probably have to supply pseudo-header information (where does the
VPI/VCI come from, for example?).

This fixes bug 4471.

svn path=/trunk/; revision=31845
This commit is contained in:
Guy Harris 2010-02-09 09:52:10 +00:00
parent c8112bc620
commit 07922081ff
1 changed files with 20 additions and 9 deletions

View File

@ -3459,23 +3459,34 @@ proto_reg_handoff_sflow_245(void) {
*/
smds_handle = data_handle;
#endif
/* No AAL5 (ATM Adaptation Layer 5) dissector available, use ATM dissector for now */
aal5_handle = find_dissector("atm");
#if 0
aal5_handle = find_dissector("aal5");
#else
/*
* No AAL5 (ATM Adaptation Layer 5) dissector available.
* What does the packet look like? An AAL5 PDU? Where
* do the VPI/VCI pair appear, if anywhere?
*/
aal5_handle = data_handle;
#endif
ipv4_handle = find_dissector("ip");
ipv6_handle = find_dissector("ipv6");
mpls_handle = find_dissector("mpls");
#if 0
pos_handle = find_dissector("pos");
#else
/* wireshark does not have POS dissector yet */
/*
pos_handle = find_dissector("pos");
*/
pos_handle = data_handle;
#endif
ieee80211_mac_handle = find_dissector("wlan");
/*
ieee80211_ampdu_handle = find_dissector("ampdu");
ieee80211_amsdu_subframe_handle = find_dissector("wlan_aggregate");
*/
#if 0
ieee80211_ampdu_handle = find_dissector("ampdu");
ieee80211_amsdu_subframe_handle = find_dissector("wlan_aggregate");
#else
/* No handles for these */
ieee80211_ampdu_handle = data_handle;
ieee80211_amsdu_subframe_handle = data_handle;
#endif
} else {
eth_withoutfcs_handle = data_handle;
tr_handle = data_handle;