diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-09-04 01:01:48 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-09-04 01:01:48 +0000 |
commit | 2c00035699ddf772b4e4f635e6473fd0a04db370 (patch) | |
tree | 780a0688497677c449f4c46e3cc63bf58b473cf0 /packet-http.c | |
parent | c83261af3d9083db525529bf666f2acdeb5bdbf6 (diff) |
Change from Thomas Wittwer to register HTTP dissector by name, for other
dissectors to call.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3905 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-http.c')
-rw-r--r-- | packet-http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-http.c b/packet-http.c index 6aed5204e2..27bbf070d9 100644 --- a/packet-http.c +++ b/packet-http.c @@ -3,7 +3,7 @@ * * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-http.c,v 1.38 2001/06/18 02:17:46 guy Exp $ + * $Id: packet-http.c,v 1.39 2001/09/04 01:01:46 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -393,6 +393,8 @@ proto_register_http(void) proto_register_field_array(proto_http, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + register_dissector("http", dissect_http, proto_http); + /* * Dissectors shouldn't register themselves in this table; * instead, they should call "http_dissector_add()", and |