diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-03-11 11:46:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-03-11 11:46:48 +0000 |
commit | 2368cd28d9f9709bda33b2cf8293a9a950994d49 (patch) | |
tree | 8635040ed9f71eb1885c1c7547b3797cd45b6585 | |
parent | 349c5a8699ca4c28d6bcb2d21b5865700e6e4d52 (diff) | |
download | wireshark-2368cd28d9f9709bda33b2cf8293a9a950994d49.tar.gz |
We don't have an SMDS dissector, and it's not clear what dissector
should be used for ATM, so just use the data dissector for now.
The X.25 dissector registers itself as "x.25", not "x25".
svn path=/trunk/; revision=13711
-rw-r--r-- | epan/dissectors/packet-sflow.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sflow.c b/epan/dissectors/packet-sflow.c index a144219b42..ede8fc1d3e 100644 --- a/epan/dissectors/packet-sflow.c +++ b/epan/dissectors/packet-sflow.c @@ -1050,14 +1050,27 @@ proto_reg_handoff_sflow(void) { dissector_handle_t sflow_handle; + /* + * XXX - should this be done with a dissector table? + */ eth_withoutfcs_handle = find_dissector("eth_withoutfcs"); tr_handle = find_dissector("tr"); fddi_handle = find_dissector("fddi"); fr_handle = find_dissector("fr"); - x25_handle = find_dissector("x25"); + x25_handle = find_dissector("x.25"); ppp_handle = find_dissector("ppp"); +#if 0 smds_handle = find_dissector("smds"); +#else + /* We don't have an SMDS dissector yet */ + smds_handle = find_dissector("data"); +#endif +#if 0 aal5_handle = find_dissector("atm"); +#else + /* What dissector should be used here? */ + aal5_handle = find_dissector("data"); +#endif ipv4_handle = find_dissector("ip"); ipv6_handle = find_dissector("ipv6"); mpls_handle = find_dissector("mpls"); |