diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-06-23 22:17:03 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-06-23 22:17:03 +0000 |
commit | 6f9d56ddd097bbae7fea6c1e242992aef88ab58b (patch) | |
tree | 60d79c153082e85c059655bdea322a6ccf22862d /epan/dissectors/packet-tcap.c | |
parent | 104bc44dbd90702cf9198b0dfd3964765f2d1a74 (diff) |
From Valery Vybornov:
add register_dissector to packet-tcap.c
svn path=/trunk/; revision=14738
Diffstat (limited to 'epan/dissectors/packet-tcap.c')
-rw-r--r-- | epan/dissectors/packet-tcap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcap.c b/epan/dissectors/packet-tcap.c index 872b471b16..bf23870935 100644 --- a/epan/dissectors/packet-tcap.c +++ b/epan/dissectors/packet-tcap.c @@ -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); + } |