summaryrefslogtreecommitdiff
path: root/asn1/ranap
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/ranap')
-rw-r--r--asn1/ranap/packet-ranap-template.c5
-rw-r--r--asn1/ranap/ranap.cnf6
2 files changed, 8 insertions, 3 deletions
diff --git a/asn1/ranap/packet-ranap-template.c b/asn1/ranap/packet-ranap-template.c
index eadd3d2366..4fbc041258 100644
--- a/asn1/ranap/packet-ranap-template.c
+++ b/asn1/ranap/packet-ranap-template.c
@@ -67,7 +67,7 @@ static int proto_ranap = -1;
/* initialise sub-dissector handles */
static dissector_handle_t rrc_s_to_trnc_handle = NULL;
-static dissector_handle_t rrc_t_to_srnc_handle = NULL;
+static dissector_handle_t rrc_ho_to_utran_cmd = NULL;
static int hf_ranap_imsi_digits = -1;
static int hf_ranap_transportLayerAddress_ipv4 = -1;
@@ -214,6 +214,7 @@ dissect_ranap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *ranap_tree = NULL;
pdu_type = 0;
+ ProtocolIE_ID = 0;
/* make entry in the Protocol column on summary display */
col_set_str(pinfo->cinfo, COL_PROTOCOL, "RANAP");
@@ -345,7 +346,7 @@ proto_reg_handoff_ranap(void)
if (!initialized) {
ranap_handle = find_dissector("ranap");
rrc_s_to_trnc_handle = find_dissector("rrc.s_to_trnc_cont");
- rrc_t_to_srnc_handle = find_dissector("rrc.t_to_srnc_cont");
+ rrc_ho_to_utran_cmd = find_dissector("rrc.irat.ho_to_utran_cmd");
initialized = TRUE;
#include "packet-ranap-dis-tab.c"
} else {
diff --git a/asn1/ranap/ranap.cnf b/asn1/ranap/ranap.cnf
index ab74882168..24e4baf83f 100644
--- a/asn1/ranap/ranap.cnf
+++ b/asn1/ranap/ranap.cnf
@@ -222,7 +222,11 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
*/
call_dissector(rrc_s_to_trnc_handle,rrc_message_tvb,%(ACTX)s->pinfo, proto_tree_get_root(tree));
}else{
- /* XXX Unsure what to do here */
+ if(pdu_type == SOUT){
+ if(ProcedureCode==id_RelocationResourceAllocation){
+ call_dissector(rrc_ho_to_utran_cmd,rrc_message_tvb,%(ACTX)s->pinfo, proto_tree_get_root(tree));
+ }
+ }
}
}