static dissector_handle_t fddi_handle;
static dissector_handle_t fr_handle;
static dissector_handle_t x25_handle;
-static dissector_handle_t ppp_handle;
static dissector_handle_t ppp_hdlc_handle;
static dissector_handle_t smds_handle;
static dissector_handle_t aal5_handle;
call_dissector(x25_handle, next_tvb, pinfo, sflow_245_header_tree);
break;
case SFLOW_245_HEADER_PPP:
- if (tvb_memeql(tvb, offset, "\xff\x03", 2) == 0)
- call_dissector(ppp_hdlc_handle, next_tvb, pinfo, sflow_245_header_tree);
- else
- call_dissector(ppp_handle, next_tvb, pinfo, sflow_245_header_tree);
+ call_dissector(ppp_hdlc_handle, next_tvb, pinfo, sflow_245_header_tree);
break;
case SFLOW_245_HEADER_SMDS:
call_dissector(smds_handle, next_tvb, pinfo, sflow_245_header_tree);
fddi_handle = find_dissector("fddi");
fr_handle = find_dissector("fr");
x25_handle = find_dissector("x.25");
- ppp_handle = find_dissector("ppp");
ppp_hdlc_handle = find_dissector("ppp_hdlc");
#if 0
smds_handle = find_dissector("smds");
fddi_handle = data_handle;
fr_handle = data_handle;
x25_handle = data_handle;
- ppp_handle = data_handle;
ppp_hdlc_handle = data_handle;
smds_handle = data_handle;
aal5_handle = data_handle;