From Valery Vybornov:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Jun 2005 22:17:03 +0000 (22:17 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Jun 2005 22:17:03 +0000 (22:17 +0000)
add register_dissector to packet-tcap.c

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14738 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-tcap.c
epan/dissectors/packet-tcap.h

index 872b471b165da5c2ef6fda8aeb1d2dfb407f1a6c..bf2387093502281fdfc4690a9c120913d45f7804 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Ethereal dissector compiler    */
-/* ./packet-tcap.c                                                            */
+/* .\packet-tcap.c                                                            */
 /* ../../tools/asn2eth.py -X -b -e -p tcap -c tcap.cnf -s packet-tcap-template tcap.asn */
 
 /* Input file: packet-tcap-template.c */
@@ -2837,6 +2837,10 @@ proto_register_tcap(void)
     /* we will fake a ssn subfield which has the same value obtained from sccp */
     tcap_itu_ssn_dissector_table = register_dissector_table("tcap.itu_ssn", "ITU TCAP SSN", FT_UINT8, BASE_DEC);
     tcap_ansi_ssn_dissector_table = register_dissector_table("tcap.ansi_ssn", "ANSI TCAP SSN", FT_UINT8, BASE_DEC);
+
+    /* 'globally' register dissector */
+    register_dissector("tcap", dissect_tcap, proto_tcap);
+
 }
 
 
index fb328fcabcaf499cc6c74c254d27e6f62ad4c2a5..bcae96da9b4f344cf023c0377410ec7c97b91ac0 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Ethereal dissector compiler    */
-/* ./packet-tcap.h                                                            */
+/* .\packet-tcap.h                                                            */
 /* ../../tools/asn2eth.py -X -b -e -p tcap -c tcap.cnf -s packet-tcap-template tcap.asn */
 
 /* Input file: packet-tcap-template.h */