aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-http.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-04-16 19:31:22 -0700
committerGuy Harris <guy@alum.mit.edu>2016-04-17 02:32:04 +0000
commit8c3b36deb8d3c6aa2c7ba03a4dc72cbb5602d821 (patch)
tree2b8ca5a34f9da3003b3702c1d7567161e6706438 /epan/dissectors/packet-http.h
parent173ccf7a4664de8001ce92966ae0c68e7805e9b4 (diff)
Don't assume the HTTP dissector is being called from the TCP dissector.
It's not - it could be called from the SSL dissector or the SCTP dissector. Create separate dissectors for all of them; they can, if passed appropriate metadata in the "data" argument, process it appropriately for the type of metadata the calling tissector supplies. Bug: 12344 Change-Id: I8d9a2f3173e6de42b31993bbb6c81d161f68bf8c Reviewed-on: https://code.wireshark.org/review/14944 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-http.h')
-rw-r--r--epan/dissectors/packet-http.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-http.h b/epan/dissectors/packet-http.h
index c6411aa757..179ca200a0 100644
--- a/epan/dissectors/packet-http.h
+++ b/epan/dissectors/packet-http.h
@@ -28,9 +28,9 @@
extern const value_string vals_http_status_code[];
WS_DLL_PUBLIC
-void http_dissector_add(guint32 port, dissector_handle_t handle);
+void http_tcp_dissector_add(guint32 port, dissector_handle_t handle);
WS_DLL_PUBLIC
-void http_port_add(guint32 port);
+void http_tcp_port_add(guint32 port);
/* Used for HTTP statistics */
typedef struct _http_info_value_t {