aboutsummaryrefslogtreecommitdiffstats
path: root/packet-http.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-07 03:17:42 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-07 03:17:42 +0000
commit36d88b6618ef44cd71e21ecc2e400b35c9b0c1c9 (patch)
tree7180663b87f4df68af18aadecc90495287569b69 /packet-http.c
parente33adb1b380cda2bb7d8a7b2b9d0b02c48aa5b12 (diff)
downloadwireshark-36d88b6618ef44cd71e21ecc2e400b35c9b0c1c9.tar.gz
wireshark-36d88b6618ef44cd71e21ecc2e400b35c9b0c1c9.tar.bz2
wireshark-36d88b6618ef44cd71e21ecc2e400b35c9b0c1c9.zip
Rename the "http.content_type" dissector table to "media_type", as it's
for use in any dissector that uses Internet media types. svn path=/trunk/; revision=9189
Diffstat (limited to 'packet-http.c')
-rw-r--r--packet-http.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-http.c b/packet-http.c
index 3a595f8ddf..3961e83cce 100644
--- a/packet-http.c
+++ b/packet-http.c
@@ -6,7 +6,7 @@
* Copyright 2002, Tim Potter <tpot@samba.org>
* Copyright 1999, Andrew Tridgell <tridge@samba.org>
*
- * $Id: packet-http.c,v 1.73 2003/11/18 08:04:39 guy Exp $
+ * $Id: packet-http.c,v 1.74 2003/12/07 03:17:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1088,10 +1088,12 @@ proto_register_http(void)
/*
* Dissectors can register themselves in this table.
+ * It's just "media_type", not "http.content_type", because
+ * it's an Internet media type, usable by other protocols as well.
*/
content_type_subdissector_table =
- register_dissector_table("http.content_type",
- "HTTP content type", FT_STRING, BASE_NONE);
+ register_dissector_table("media_type",
+ "Internet media type", FT_STRING, BASE_NONE);
/*
* Heuristic dissectors SHOULD register themselves in