aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wccp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-30 23:08:27 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-30 23:08:27 +0000
commitc2136d0735153967740e1f86002fa3b31adb7eff (patch)
treec84eef703d061c8295f62a8b1aa384dc0e3d4b71 /packet-wccp.c
parent8dc27bb1844d99ae3033c51f81fa0b277e642a03 (diff)
Include <string.h> to declare various string functions.
Include "snprintf.h", when needed, to declare "snprintf()" on platforms that don't have it. Fix some formats and arguments to various printing routines. Fix "diameter_time_to_string()" to properly fetch the time value from the data buffer handed to it. svn path=/trunk/; revision=4639
Diffstat (limited to 'packet-wccp.c')
-rw-r--r--packet-wccp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-wccp.c b/packet-wccp.c
index 8fda2d4c2d..eae52f7aa4 100644
--- a/packet-wccp.c
+++ b/packet-wccp.c
@@ -2,7 +2,7 @@
* Routines for Web Cache Coordination Protocol dissection
* Jerry Talkington <jerryt@netapp.com>
*
- * $Id: packet-wccp.c,v 1.27 2002/01/24 09:20:52 guy Exp $
+ * $Id: packet-wccp.c,v 1.28 2002/01/30 23:08:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -41,6 +41,10 @@
#include <epan/strutil.h>
#include "packet-wccp.h"
+#ifdef NEED_SNPRINTF_H
+# include "snprintf.h"
+#endif
+
static int proto_wccp = -1;
static int hf_wccp_message_type = -1; /* the message type */
static int hf_wccp_version = -1; /* protocol version */