From a6dac6240fefea4d55f9d8c7329ea44370b5ccbb Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Wed, 10 Apr 2019 22:35:48 +0200 Subject: [PATCH] X2AP: use the right tree for EndcSONConfigurationTransfer IE Change-Id: I44739870524af86c9b590fdc995d7b93490f9296 Reviewed-on: https://code.wireshark.org/review/32816 Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin --- epan/dissectors/asn1/x2ap/x2ap.cnf | 2 +- epan/dissectors/packet-x2ap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/asn1/x2ap/x2ap.cnf b/epan/dissectors/asn1/x2ap/x2ap.cnf index 0c2de52f81..7b2f270376 100644 --- a/epan/dissectors/asn1/x2ap/x2ap.cnf +++ b/epan/dissectors/asn1/x2ap/x2ap.cnf @@ -664,7 +664,7 @@ ScheduledCommunicationTime/timeofDayEnd DISPLAY=BASE_DEC|BASE_UNIT_STRING STRING proto_tree *subtree; %(DEFAULT_BODY)s if (parameter_tvb) { - subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TargeteNBtoSource_eNBTransparentContainer); + subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EndcSONConfigurationTransfer); dissect_s1ap_EN_DCSONConfigurationTransfer_PDU(parameter_tvb, actx->pinfo, subtree, NULL); } diff --git a/epan/dissectors/packet-x2ap.c b/epan/dissectors/packet-x2ap.c index 29aa8abd8b..acdc19c4ea 100644 --- a/epan/dissectors/packet-x2ap.c +++ b/epan/dissectors/packet-x2ap.c @@ -5300,7 +5300,7 @@ dissect_x2ap_EndcSONConfigurationTransfer(tvbuff_t *tvb _U_, int offset _U_, asn NO_BOUND, NO_BOUND, FALSE, ¶meter_tvb); if (parameter_tvb) { - subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TargeteNBtoSource_eNBTransparentContainer); + subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EndcSONConfigurationTransfer); dissect_s1ap_EN_DCSONConfigurationTransfer_PDU(parameter_tvb, actx->pinfo, subtree, NULL); }