ACDR: Fix dissection of control packets
The recorded protocol on this case is eth and not ip.
This commit is contained in:
parent
9ac8dcb3a1
commit
321f231bd9
|
@ -777,7 +777,7 @@ static void
|
||||||
acdr_payload_handler(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
|
acdr_payload_handler(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
|
||||||
acdr_dissector_data_t *data, const char *proto_name)
|
acdr_dissector_data_t *data, const char *proto_name)
|
||||||
{
|
{
|
||||||
if (data->header_added) {
|
if (data->header_added && data->media_type != ACDR_Control) {
|
||||||
dissector_handle_t dissector = ip_dissector_handle;
|
dissector_handle_t dissector = ip_dissector_handle;
|
||||||
if (data->media_type == ACDR_DTLS || data->media_type == ACDR_T38)
|
if (data->media_type == ACDR_DTLS || data->media_type == ACDR_T38)
|
||||||
dissector = udp_dissector_handle;
|
dissector = udp_dissector_handle;
|
||||||
|
|
Loading…
Reference in New Issue