summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-pfsync.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-11-08 06:46:45 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-11-08 06:46:45 +0000
commit94835dab54d1757c089b9c0b20b89dbdc9acb810 (patch)
treed8900210f6b4035b250975497d66ff03a691aa00 /usr.sbin/tcpdump/print-pfsync.c
parent883cc1a3f7a35ae6e376bcc22dafbdc49b59f3e9 (diff)
Print "|pfsync" if the packet is truncated, not "|pflog".
Diffstat (limited to 'usr.sbin/tcpdump/print-pfsync.c')
-rw-r--r--usr.sbin/tcpdump/print-pfsync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-pfsync.c b/usr.sbin/tcpdump/print-pfsync.c
index 8a6a51884b3..f51f825fa4e 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.10 2003/11/05 00:44:10 mcbride Exp $ */
+/* $OpenBSD: print-pfsync.c,v 1.11 2003/11/08 06:46:44 mcbride 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.10 2003/11/05 00:44:10 mcbride Exp $";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-pfsync.c,v 1.11 2003/11/08 06:46:44 mcbride Exp $";
#endif
#include <sys/param.h>
@@ -77,7 +77,7 @@ pfsync_if_print(u_char *user, const struct pcap_pkthdr *h,
ts_print(&h->ts);
if (caplen < PFSYNC_HDRLEN) {
- printf("[|pflog]");
+ printf("[|pfsync]");
goto out;
}