aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorBernhard Dick <bernhard@bdick.de>2022-11-25 12:55:06 +0100
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2022-11-28 15:04:15 +0000
commitabea8b8b4abcc41eff64193223c35e48608bb9b5 (patch)
tree7447e580a8762a3b51922695b9418e6ed51f3c19 /epan
parenta6c6afedefc3cdc62cb979cfa8f5435d9009402c (diff)
DECT-MITEL-RFP: Set proto length in DECToE case
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dect-mitel-rfp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dect-mitel-rfp.c b/epan/dissectors/packet-dect-mitel-rfp.c
index a82a6a1d69..208c6ec46e 100644
--- a/epan/dissectors/packet-dect-mitel-rfp.c
+++ b/epan/dissectors/packet-dect-mitel-rfp.c
@@ -1155,6 +1155,7 @@ static int dissect_dect_mitel_rfp(tvbuff_t *tvb, packet_info *pinfo, proto_tree
break;
case DECT_MITEL_RFP_MESSAGE_TYPE_ETH:
/* Handover to DECT-MITEL-ETH*/
+ proto_item_set_len(ti, 4);
next_tvb = tvb_new_subset_remaining(tvb, offset);
call_dissector_with_data(dect_mitel_eth_handle, next_tvb, pinfo, tree, &ip_encapsulated);
break;