diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2007-09-21 08:42:01 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2007-09-21 08:42:01 +0000 |
commit | 381b8cc5dd7f9f2a4ebc375fc9b327933c7900c0 (patch) | |
tree | d5582210119b649554421adef455d20238100644 /usr.sbin/tcpdump | |
parent | bd737c7885f1e09238a4ea4cd40a3cd744af797e (diff) |
typo: print hexdump of packet, instead of pcap header; ok canacar, henning
Diffstat (limited to 'usr.sbin/tcpdump')
-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 3b95c75d2c3..8d67bd56735 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: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-pfsync.c,v 1.30 2007/05/31 04:16:26 mcbride Exp $"; + "@(#) $Header: /cvs/OpenBSD/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'); } |