Wireshark-bugs: [Wireshark-bugs] [Bug 4814] Feature Request: ISO/IEC 13818-1 over USB support

Date: Sat, 30 Apr 2011 04:45:25 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4814

--- Comment #14 from Tyson Key <tyson.key@xxxxxxxxx> 2011-04-30 04:45:25 PDT ---
Right, so the offending section of the code is:

proto_reg_handoff_ppp_raw_hdlc(void)
{
  dissector_handle_t ppp_raw_hdlc_handle;
  dissector_handle_t ppp_usb_handle;

  ppp_raw_hdlc_handle = create_dissector_handle(dissect_ppp_raw_hdlc,
proto_ppp);
  dissector_add_uint("gre.proto", ETHERTYPE_CDMA2000_A10_UBS,
ppp_raw_hdlc_handle);
  dissector_add_uint("gre.proto", ETHERTYPE_3GPP2, ppp_raw_hdlc_handle);

  ppp_usb_handle = create_dissector_handle(dissect_ppp_usb, proto_ppp);
  dissector_add_uint("usb.bulk", IF_CLASS_UNKNOWN, ppp_usb_handle);
  dissector_add_uint("usb.bulk", IF_CLASS_VENDOR_SPECIFIC, ppp_usb_handle);
  dissector_add_uint("usb.bulk", IF_CLASS_CDC_DATA, ppp_usb_handle);
}

I can't remember when the dissector_add() -> dissector_add_uint() API changes
were introduced, although I'll knock up an updated version of the patch ASAP...

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.