aboutsummaryrefslogtreecommitdiffstats
path: root/packet-http.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-11 05:41:47 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-11 05:41:47 +0000
commit918fb90728eee9b26afed6716db32bd169115cc3 (patch)
treec6c1c83858afe0c07b2aee87897ac5d102eb4a35 /packet-http.c
parentfc72ce73366a52c47e68bd7be7d17574df1ca353 (diff)
"dissect_http()" doesn't need to be global any more; make it static.
svn path=/trunk/; revision=2870
Diffstat (limited to 'packet-http.c')
-rw-r--r--packet-http.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/packet-http.c b/packet-http.c
index 9e899afe74..4c7387404f 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.34 2001/01/11 05:36:09 guy Exp $
+ * $Id: packet-http.c,v 1.35 2001/01/11 05:41:47 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -61,8 +61,14 @@ static gint ett_http = -1;
#define TCP_PORT_PROXY_ADMIN_HTTP 3132
#define TCP_ALT_PORT_HTTP 8080
+/*
+ * IPP is encapsulated in HTTP.
+ */
#define TCP_PORT_IPP 631
+/*
+ * So is SSDP (yes, it really *does* run over UDP).
+ */
#define TCP_PORT_SSDP 1900
#define UDP_PORT_SSDP 1900
@@ -79,7 +85,7 @@ static int is_http_request_or_reply(const u_char *data, int linelen, http_type_t
static dissector_handle_t ipp_handle;
-void
+static void
dissect_http(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
http_proto_t proto;