aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pflog.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-pflog.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-pflog.c')
-rw-r--r--packet-pflog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-pflog.c b/packet-pflog.c
index b706788578..7a182f0bfd 100644
--- a/packet-pflog.c
+++ b/packet-pflog.c
@@ -1,7 +1,7 @@
/* packet-pflog.c
* Routines for pflog (OpenBSD Firewall Logging) packet disassembly
*
- * $Id: packet-pflog.c,v 1.1 2002/01/29 08:44:46 guy Exp $
+ * $Id: packet-pflog.c,v 1.2 2002/01/30 23:08:26 guy Exp $
*
* Copyright 2001 Mike Frantzen
* All rights reserved.
@@ -36,6 +36,7 @@
# include <sys/types.h>
#endif
+#include <string.h>
#include <glib.h>
#include <epan/packet.h>
#include "etypes.h"