aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/rrc/packet-rrc-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/rrc/packet-rrc-template.c')
-rw-r--r--asn1/rrc/packet-rrc-template.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/asn1/rrc/packet-rrc-template.c b/asn1/rrc/packet-rrc-template.c
index 03e78a8c8e..8018f68463 100644
--- a/asn1/rrc/packet-rrc-template.c
+++ b/asn1/rrc/packet-rrc-template.c
@@ -111,6 +111,8 @@ static int ett_rrc = -1;
static gint ett_rrc_eutraFeatureGroupIndicators = -1;
static gint ett_rrc_cn_CommonGSM_MAP_NAS_SysInfo = -1;
+static expert_field ei_rrc_no_hrnti = EI_INIT;
+
/* Global variables */
static proto_tree *top_tree;
@@ -292,12 +294,19 @@ void proto_register_rrc(void) {
&ett_rrc_cn_CommonGSM_MAP_NAS_SysInfo,
};
+ static ei_register_info ei[] = {
+ { &ei_rrc_no_hrnti, { "rrc.no_hrnti", PI_SEQUENCE, PI_NOTE, "Did not detect any H-RNTI", EXPFILL }},
+ };
+
+ expert_module_t* expert_rrc;
/* Register protocol */
proto_rrc = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_rrc, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+ expert_rrc = expert_register_protocol(proto_rrc);
+ expert_register_field_array(expert_rrc, ei, array_length(ei));
register_dissector("rrc", dissect_rrc, proto_rrc);