Skip to content

Commit

Permalink
Add an option to dissect RRC-Container IE
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=50130
  • Loading branch information
pquantin committed Jun 24, 2013
1 parent 93002cb commit d23f769
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions asn1/ranap/packet-ranap-template.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ void proto_register_ranap(void) {
prefs_register_uint_preference(ranap_module, "sccp_ssn", "SCCP SSN for RANAP",
"The SCCP SubSystem Number for RANAP (default 142)", 10,
&global_ranap_sccp_ssn);
prefs_register_bool_preference(ranap_module, "dissect_rrc_container",
"Attempt to dissect RRC-Container",
"Attempt to dissect RRC message embedded in RRC-Container IE",
&glbl_dissect_container);
}


Expand Down
6 changes: 5 additions & 1 deletion epan/dissectors/packet-ranap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16479,6 +16479,10 @@ void proto_register_ranap(void) {
prefs_register_uint_preference(ranap_module, "sccp_ssn", "SCCP SSN for RANAP",
"The SCCP SubSystem Number for RANAP (default 142)", 10,
&global_ranap_sccp_ssn);
prefs_register_bool_preference(ranap_module, "dissect_rrc_container",
"Attempt to dissect RRC-Container",
"Attempt to dissect RRC message embedded in RRC-Container IE",
&glbl_dissect_container);
}


Expand Down Expand Up @@ -16829,7 +16833,7 @@ proto_reg_handoff_ranap(void)


/*--- End of included file: packet-ranap-dis-tab.c ---*/
#line 373 "../../asn1/ranap/packet-ranap-template.c"
#line 377 "../../asn1/ranap/packet-ranap-template.c"
} else {
dissector_delete_uint("sccp.ssn", local_ranap_sccp_ssn, ranap_handle);
}
Expand Down

0 comments on commit d23f769

Please sign in to comment.