diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-03 22:50:41 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-03 22:50:41 +0000 |
commit | 959c31b2a551212381c5e41220d9801994bd8540 (patch) | |
tree | c7c82ff492153a91ccb60e99da7ff5ac409cff72 /packet-mtp2.c | |
parent | 204e8ee5a16328ae3bae4c01a9af09efa2a7c22e (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-mtp2.c')
-rw-r--r-- | packet-mtp2.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packet-mtp2.c b/packet-mtp2.c index a8ebf6351e..6dee072eee 100644 --- a/packet-mtp2.c +++ b/packet-mtp2.c @@ -5,7 +5,7 @@ * * Copyright 2001, Michael Tuexen <tuexen [AT] fh-muenster.de> * - * $Id: packet-mtp2.c,v 1.8 2003/04/22 13:47:38 tuexen Exp $ + * $Id: packet-mtp2.c,v 1.9 2003/12/03 22:50:41 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -208,6 +208,12 @@ proto_register_mtp2(void) void proto_reg_handoff_mtp2(void) { + dissector_handle_t mtp2_handle; + + mtp2_handle = create_dissector_handle(dissect_mtp2, proto_mtp2); + + dissector_add("wtap_encap", WTAP_ENCAP_MTP2, mtp2_handle); + mtp3_handle = find_dissector("mtp3"); mtp3_proto_id = proto_get_id_by_filter_name("mtp3"); } |