aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mmse.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-11-19 02:58:02 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-11-19 02:58:02 +0000
commitd8b0767040ac7ec21a2db5aa3972c2b267b1951c (patch)
tree6bd24519f7ff8ffd22edeafce6203f6a53f5b295 /packet-mmse.c
parent0d47e43ca73e5bf11c1b3060bfeac4c1e0ccd449 (diff)
Register the MMSE dissector with the "http.content_type" dissector
table, rathe than as a heuristic subdissector of HTTP. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9026 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mmse.c')
-rw-r--r--packet-mmse.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/packet-mmse.c b/packet-mmse.c
index 84c6252593..f21f566218 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.20 2003/10/09 18:54:06 guy Exp $
+ * $Id: packet-mmse.c,v 1.21 2003/11/19 02:58:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -868,9 +868,7 @@ proto_reg_handoff_mmse(void)
dissector_add_string("wsp.content_type.literal",
"application/vnd.wap.mms-message",
mmse_handle);
- /*
- * \todo
- * The bearer could also be http (through the content-type field).
- */
- heur_dissector_add("http", dissect_mmse_heur, proto_mmse);
+ dissector_add_string("http.content_type",
+ "application/vnd.wap.mms-message",
+ mmse_handle);
}