diff options
| author | 2007-09-21 08:42:00 +0000 | |
|---|---|---|
| committer | 2007-09-21 08:42:00 +0000 | |
| commit | 1e701da2ffe186370562b8d4c2bc03b574f58b5f (patch) | |
| tree | d6b54bd4773f24f079a28625cece4a04a7bd1cb9 /usr.sbin/tcpdump/print-pfsync.c | |
| parent | strcpy/strcat -> strlcpy/strlcat (diff) | |
| download | wireguard-openbsd-1e701da2ffe186370562b8d4c2bc03b574f58b5f.tar.xz wireguard-openbsd-1e701da2ffe186370562b8d4c2bc03b574f58b5f.zip | |
typo: print hexdump of packet, instead of pcap header; ok canacar, henning
Diffstat (limited to 'usr.sbin/tcpdump/print-pfsync.c')
| -rw-r--r-- | usr.sbin/tcpdump/print-pfsync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-pfsync.c b/usr.sbin/tcpdump/print-pfsync.c index d70581ac3ae..30ec73ccd44 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.30 2007/05/31 04:16:26 mcbride Exp $ */ +/* $OpenBSD: print-pfsync.c,v 1.31 2007/09/21 08:42:00 markus 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.30 2007/05/31 04:16:26 mcbride Exp $"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-pfsync.c,v 1.31 2007/09/21 08:42:00 markus Exp $"; #endif #include <sys/param.h> @@ -83,7 +83,7 @@ pfsync_if_print(u_char *user, const struct pcap_pkthdr *h, caplen - sizeof(struct pfsync_header)); out: if (xflag) { - default_print((const u_char *)h, caplen); + default_print((const u_char *)p, caplen); } putchar('\n'); } |
