aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rrc.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-11-22 17:00:45 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-11-22 17:00:45 +0000
commit98c852386ddaef876313dee9de46a3a7562ec059 (patch)
tree3ec217fd1ee599a000f33844f07e921889db0059 /epan/dissectors/packet-rrc.c
parenta6cb92c7a937e4e457eec84ff47921204a0242c2 (diff)
Handle lenght restriction extension of restricted strings.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4251 svn path=/trunk/; revision=31047
Diffstat (limited to 'epan/dissectors/packet-rrc.c')
-rw-r--r--epan/dissectors/packet-rrc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-rrc.c b/epan/dissectors/packet-rrc.c
index 98e3faffd1..4c3af2c65b 100644
--- a/epan/dissectors/packet-rrc.c
+++ b/epan/dissectors/packet-rrc.c
@@ -282,7 +282,7 @@ static int hf_rrc_SysInfoType18_PDU = -1; /* SysInfoType18 */
static int hf_rrc_SysInfoTypeSB1_PDU = -1; /* SysInfoTypeSB1 */
static int hf_rrc_SysInfoTypeSB2_PDU = -1; /* SysInfoTypeSB2 */
static int hf_rrc_rrc_ToTargetRNC_Container_PDU = -1; /* ToTargetRNC_Container */
-static int hf_rrc_TargetRNC_ToSourceRNC_Container_PDU = -1; /* TargetRNC_ToSourceRNC_Container */
+static int hf_rrc_rrc_TargetRNC_ToSourceRNC_Container_PDU = -1; /* TargetRNC_ToSourceRNC_Container */
static int hf_rrc_CellUpdate_r3_add_ext_IEs_PDU = -1; /* CellUpdate_r3_add_ext_IEs */
static int hf_rrc_CellUpdateConfirm_r7_add_ext_IEs_PDU = -1; /* CellUpdateConfirm_r7_add_ext_IEs */
static int hf_rrc_InterRATHandoverInfo_r3_add_ext_IEs_PDU = -1; /* InterRATHandoverInfo_r3_add_ext_IEs */
@@ -111994,10 +111994,10 @@ void dissect_rrc_ToTargetRNC_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, FALSE, pinfo);
dissect_rrc_ToTargetRNC_Container(tvb, 0, &asn1_ctx, tree, hf_rrc_rrc_ToTargetRNC_Container_PDU);
}
-static void dissect_TargetRNC_ToSourceRNC_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
+void dissect_rrc_TargetRNC_ToSourceRNC_Container_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, FALSE, pinfo);
- dissect_rrc_TargetRNC_ToSourceRNC_Container(tvb, 0, &asn1_ctx, tree, hf_rrc_TargetRNC_ToSourceRNC_Container_PDU);
+ dissect_rrc_TargetRNC_ToSourceRNC_Container(tvb, 0, &asn1_ctx, tree, hf_rrc_rrc_TargetRNC_ToSourceRNC_Container_PDU);
}
static int dissect_CellUpdate_r3_add_ext_IEs_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
int offset = 0;
@@ -112397,7 +112397,7 @@ void proto_register_rrc(void) {
{ "ToTargetRNC-Container", "rrc.ToTargetRNC_Container",
FT_UINT32, BASE_DEC, VALS(rrc_ToTargetRNC_Container_vals), 0,
"rrc.ToTargetRNC_Container", HFILL }},
- { &hf_rrc_TargetRNC_ToSourceRNC_Container_PDU,
+ { &hf_rrc_rrc_TargetRNC_ToSourceRNC_Container_PDU,
{ "TargetRNC-ToSourceRNC-Container", "rrc.TargetRNC_ToSourceRNC_Container",
FT_UINT32, BASE_DEC, VALS(rrc_TargetRNC_ToSourceRNC_Container_vals), 0,
"rrc.TargetRNC_ToSourceRNC_Container", HFILL }},
@@ -148203,7 +148203,7 @@ void proto_register_rrc(void) {
register_dissector("rrc.si.sb1", dissect_SysInfoTypeSB1_PDU, proto_rrc);
register_dissector("rrc.si.sb2", dissect_SysInfoTypeSB2_PDU, proto_rrc);
register_dissector("rrc.s_to_trnc_cont", dissect_rrc_ToTargetRNC_Container_PDU, proto_rrc);
- register_dissector("rrc.t_to_srnc_cont", dissect_TargetRNC_ToSourceRNC_Container_PDU, proto_rrc);
+ register_dissector("rrc.t_to_srnc_cont", dissect_rrc_TargetRNC_ToSourceRNC_Container_PDU, proto_rrc);
/*--- End of included file: packet-rrc-dis-reg.c ---*/