forked from osmocom/wireshark
packet-fr: Register for SLL dispatch to Frame Relay dissector
Without this patch, any Linux cooked packet capture on HDLC / frame
relay devices will not be dispatched to the proper dissector.
Such packets do carry a proper sll_hatype set to ARPHRD_FRAD and should
be dispatched accordingly. However, the packet-fr dissector so far
did not register itself accordingly.
(cherry picked from commit b83f92a458
)
This commit is contained in:
parent
d742da0e53
commit
5b97f29a9a
|
@ -27,6 +27,7 @@
|
|||
#include <epan/prefs.h>
|
||||
#include <epan/expert.h>
|
||||
#include <epan/conversation.h>
|
||||
#include <epan/arptypes.h>
|
||||
#include <wiretap/wtap.h>
|
||||
|
||||
#include "packet-llc.h"
|
||||
|
@ -1117,6 +1118,7 @@ proto_reg_handoff_fr(void)
|
|||
dissector_add_uint("sflow_245.header_protocol", SFLOW_245_HEADER_FRAME_RELAY, fr_handle);
|
||||
dissector_add_uint("atm.aal5.type", TRAF_FR, fr_handle);
|
||||
dissector_add_uint("l2tp.pw_type", L2TPv3_PROTOCOL_FR, fr_handle);
|
||||
dissector_add_uint("sll.hatype", ARPHRD_FRAD, fr_handle);
|
||||
|
||||
fr_phdr_handle = create_dissector_handle(dissect_fr_phdr, proto_fr);
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_FRELAY_WITH_PHDR, fr_phdr_handle);
|
||||
|
|
Loading…
Reference in New Issue