aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mtp3.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-03 22:50:41 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-03 22:50:41 +0000
commit959c31b2a551212381c5e41220d9801994bd8540 (patch)
treec7c82ff492153a91ccb60e99da7ff5ac409cff72 /packet-mtp3.c
parent204e8ee5a16328ae3bae4c01a9af09efa2a7c22e (diff)
From Jeff Morriss: add support for WTAP_ENCAP_MTP2 and WTAP_ENCAP_MTP3.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9158 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mtp3.c')
-rw-r--r--packet-mtp3.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/packet-mtp3.c b/packet-mtp3.c
index 1c1c0e4501..7ec8882aa5 100644
--- a/packet-mtp3.c
+++ b/packet-mtp3.c
@@ -9,7 +9,7 @@
* Copyright 2001, Michael Tuexen <tuexen [AT] fh-muenster.de>
* Updated for ANSI and Chinese ITU support by Jeff Morriss <jeff.morriss[AT]ulticom.com>
*
- * $Id: packet-mtp3.c,v 1.22 2003/09/06 00:03:23 guy Exp $
+ * $Id: packet-mtp3.c,v 1.23 2003/12/03 22:50:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -502,5 +502,11 @@ proto_register_mtp3(void)
void
proto_reg_handoff_mtp3(void)
{
+ dissector_handle_t mtp3_handle;
+
+ mtp3_handle = create_dissector_handle(dissect_mtp3, proto_mtp3);
+
+ dissector_add("wtap_encap", WTAP_ENCAP_MTP3, mtp3_handle);
+
data_handle = find_dissector("data");
}