summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-pfsync.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-04 00:29:15 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-04 00:29:15 +0000
commit9d6c1805528288a3d54a037c259a65fd99ff5240 (patch)
tree10d6156763e7c81ef6361340b3ff35e9feaaa778 /usr.sbin/tcpdump/print-pfsync.c
parentb0bc9c797b45d0a0334304e7088c084e7128c453 (diff)
zap unused variable; ok mcbride
Diffstat (limited to 'usr.sbin/tcpdump/print-pfsync.c')
-rw-r--r--usr.sbin/tcpdump/print-pfsync.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-pfsync.c b/usr.sbin/tcpdump/print-pfsync.c
index 9a3542515b8..d6cac3ed3e4 100644
--- a/usr.sbin/tcpdump/print-pfsync.c
+++ b/usr.sbin/tcpdump/print-pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-pfsync.c,v 1.19 2003/12/31 11:18:25 cedric Exp $ */
+/* $OpenBSD: print-pfsync.c,v 1.20 2004/01/04 00:29:14 pvalchev Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -28,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-pfsync.c,v 1.19 2003/12/31 11:18:25 cedric Exp $";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-pfsync.c,v 1.20 2004/01/04 00:29:14 pvalchev Exp $";
#endif
#include <sys/param.h>
@@ -91,7 +91,6 @@ out:
void
pfsync_ip_print(const u_char *bp, u_int len, const u_char *bp2)
{
- const struct ip *ip = (const struct ip *)bp2;
struct pfsync_header *hdr = (struct pfsync_header *)bp;
if (len < PFSYNC_HDRLEN)