aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mmse.c
diff options
context:
space:
mode:
authorobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-08 20:37:15 +0000
committerobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-08 20:37:15 +0000
commit0c34ec2fa67538264651bd5b061f59b07bcecfed (patch)
treecc6cebbfbaf48bb089f49a3719ddc5043182fbfb /packet-mmse.c
parent09999a721f3a76268ae3db319bb6a82bddddefe6 (diff)
Get rid of the integer media type dissector table in WSP, WBXML and MMSE.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9203 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mmse.c')
-rw-r--r--packet-mmse.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/packet-mmse.c b/packet-mmse.c
index 1fcce75da2..f1c939c3a6 100644
--- a/packet-mmse.c
+++ b/packet-mmse.c
@@ -2,7 +2,7 @@
* Routines for MMS Message Encapsulation dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
- * $Id: packet-mmse.c,v 1.23 2003/12/07 18:09:52 obiot Exp $
+ * $Id: packet-mmse.c,v 1.24 2003/12/08 20:37:15 obiot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -862,13 +862,8 @@ proto_reg_handoff_mmse(void)
heur_dissector_add("wsp", dissect_mmse_heur, proto_mmse);
mmse_handle = create_dissector_handle(dissect_mmse, proto_mmse);
- dissector_add("wsp.content_type.integer",
- MMS_CONTENT_TYPE,
- mmse_handle);
/* As the media types for WSP and HTTP are the same, the WSP dissector
- * uses the same string dissector table as the HTTP protocol. This is
- * not true for the integer representation of the WSP media types. */
+ * uses the same string dissector table as the HTTP protocol. */
dissector_add_string("media_type",
- "application/vnd.wap.mms-message",
- mmse_handle);
+ "application/vnd.wap.mms-message", mmse_handle);
}