aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nbap.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-11-04 22:28:52 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-11-04 22:28:52 +0000
commitc4e970bb460d387035d6099a037828b9cde0bc2f (patch)
tree97f17a4af115ed40b8afb6e7a270d86792e7073f /epan/dissectors/packet-nbap.c
parenta0945d912259734cecf18a0523c348882b8881b8 (diff)
asn2wrs generated files changed as a result of recent asn1 template changes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26698 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nbap.c')
-rw-r--r--epan/dissectors/packet-nbap.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/epan/dissectors/packet-nbap.c b/epan/dissectors/packet-nbap.c
index 1b10a23d64..4cf4becf85 100644
--- a/epan/dissectors/packet-nbap.c
+++ b/epan/dissectors/packet-nbap.c
@@ -1081,8 +1081,6 @@ typedef enum _ProtocolIE_ID_enum {
/*--- End of included file: packet-nbap-val.h ---*/
#line 53 "packet-nbap-template.c"
-static dissector_handle_t nbap_handle = NULL;
-
/* Initialize the protocol and registered fields */
static int proto_nbap = -1;
@@ -3653,7 +3651,7 @@ static int hf_nbap_RACH_SubChannelNumbers_subCh1 = -1;
static int hf_nbap_RACH_SubChannelNumbers_subCh0 = -1;
/*--- End of included file: packet-nbap-hf.c ---*/
-#line 60 "packet-nbap-template.c"
+#line 58 "packet-nbap-template.c"
/* Initialize the subtree pointers */
static int ett_nbap = -1;
@@ -4977,7 +4975,7 @@ static gint ett_nbap_UnsuccessfulOutcome = -1;
static gint ett_nbap_Outcome = -1;
/*--- End of included file: packet-nbap-ett.c ---*/
-#line 65 "packet-nbap-template.c"
+#line 63 "packet-nbap-template.c"
/* Global variables */
static guint32 ProcedureCode;
@@ -42573,7 +42571,7 @@ static void dissect_NBAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, prot
/*--- End of included file: packet-nbap-fn.c ---*/
-#line 86 "packet-nbap-template.c"
+#line 84 "packet-nbap-template.c"
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
@@ -52875,7 +52873,7 @@ void proto_register_nbap(void) {
"", HFILL }},
/*--- End of included file: packet-nbap-hfarr.c ---*/
-#line 139 "packet-nbap-template.c"
+#line 137 "packet-nbap-template.c"
};
/* List of subtrees */
@@ -54200,7 +54198,7 @@ void proto_register_nbap(void) {
&ett_nbap_Outcome,
/*--- End of included file: packet-nbap-ettarr.c ---*/
-#line 145 "packet-nbap-template.c"
+#line 143 "packet-nbap-template.c"
};
@@ -54212,7 +54210,6 @@ void proto_register_nbap(void) {
/* Register dissector */
register_dissector("nbap", dissect_nbap, proto_nbap);
- nbap_handle = find_dissector("nbap");
/* Register dissector tables */
nbap_ies_dissector_table = register_dissector_table("nbap.ies", "NBAP-PROTOCOL-IES", FT_UINT32, BASE_DEC);
@@ -54228,7 +54225,9 @@ void proto_register_nbap(void) {
void
proto_reg_handoff_nbap(void)
{
+ dissector_handle_t nbap_handle;
+ nbap_handle = find_dissector("nbap");
/*dissector_add("sctp.ppi", Add ppid here, nbap_handle); */
dissector_add("sctp.port", 0, nbap_handle);
@@ -55137,7 +55136,7 @@ proto_reg_handoff_nbap(void)
/*--- End of included file: packet-nbap-dis-tab.c ---*/
-#line 177 "packet-nbap-template.c"
+#line 176 "packet-nbap-template.c"
}