summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-pfsync.c
diff options
context:
space:
mode:
authormcbride <mcbride@openbsd.org>2003-11-08 06:46:44 +0000
committermcbride <mcbride@openbsd.org>2003-11-08 06:46:44 +0000
commit02d970b60319eb67828d17c142838ef5a7a6225f (patch)
treec0176f5c4426db8a8573282aafe50dfbe6027e27 /usr.sbin/tcpdump/print-pfsync.c
parentAvoid a race condition while swapping in a process. (diff)
downloadwireguard-openbsd-02d970b60319eb67828d17c142838ef5a7a6225f.tar.xz
wireguard-openbsd-02d970b60319eb67828d17c142838ef5a7a6225f.zip
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 853326f58ef..317a8dd5165 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: /home/cvs/src/usr.sbin/tcpdump/print-pfsync.c,v 1.10 2003/11/05 00:44:10 mcbride Exp $";
+ "@(#) $Header: /home/cvs/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;
}