If we're going to use a handle for the data handle, we need to get a
authorGuy Harris <guy@alum.mit.edu>
Sun, 18 Dec 2005 11:19:25 +0000 (11:19 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sun, 18 Dec 2005 11:19:25 +0000 (11:19 -0000)
handle for that dissector.  This fixes bug 637.

svn path=/trunk/; revision=16842

asn1/tcap/packet-tcap-template.c
epan/dissectors/packet-tcap.c

index 44b26b0aa45e13e07120399a55dc7f9ade4b54d9..ebd171fb53a0f14a130bb6a9d186b900b251630f 100644 (file)
@@ -163,7 +163,8 @@ proto_reg_handoff_tcap(void)
     
     register_ber_oid_name("0.0.17.773.1.1.1",
                           "itu-t(0) recommendation(0) q(17) 773 as(1) dialogue-as(1) version1(1)");
-    
+
+    data_handle = find_dissector("data");    
 }
 
 static void init_tcap(void);
index 68a929d9c030473cf7569368fa932e5fd29c5ef4..5b90d8ed78da4f858cf21af2db57a0dba1a37ab0 100644 (file)
@@ -2362,7 +2362,8 @@ proto_reg_handoff_tcap(void)
     
     register_ber_oid_name("0.0.17.773.1.1.1",
                           "itu-t(0) recommendation(0) q(17) 773 as(1) dialogue-as(1) version1(1)");
-    
+
+    data_handle = find_dissector("data");    
 }
 
 static void init_tcap(void);
@@ -2886,7 +2887,7 @@ proto_register_tcap(void)
         "", HFILL }},
 
 /*--- End of included file: packet-tcap-hfarr.c ---*/
-#line 198 "packet-tcap-template.c"
+#line 199 "packet-tcap-template.c"
     };
 
 /* Setup protocol subtree array */
@@ -2950,7 +2951,7 @@ proto_register_tcap(void)
     &ett_tcap_ErrorCode,
 
 /*--- End of included file: packet-tcap-ettarr.c ---*/
-#line 207 "packet-tcap-template.c"
+#line 208 "packet-tcap-template.c"
     };
 
     /*static enum_val_t tcap_options[] = {