diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-11-19 02:58:02 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-11-19 02:58:02 +0000 |
commit | 2030e7e74b477c9880e16b43c41cc21f2bb253aa (patch) | |
tree | 6bd24519f7ff8ffd22edeafce6203f6a53f5b295 /packet-mmse.c | |
parent | 81ff12e4aad7860dba48a65b6ff9daffba246d77 (diff) |
Register the MMSE dissector with the "http.content_type" dissector
table, rathe than as a heuristic subdissector of HTTP.
svn path=/trunk/; revision=9026
Diffstat (limited to 'packet-mmse.c')
-rw-r--r-- | packet-mmse.c | 10 |
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); } |