diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-07-07 23:48:41 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-07-07 23:48:41 +0000 |
commit | 2b591a94117f9c25a51f91682a60e4b12bb88fe5 (patch) | |
tree | 6c1e11e48caff202d1fb8c0e43ef4fc4b5792bc4 /usr.sbin/tcpdump | |
parent | c90a1d73ec85eef7e48303c506759bd4343244ce (diff) |
Include protocol name in printout.
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 4313dd0df5b..ec9b8d08646 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.26 2004/03/22 08:13:10 mcbride Exp $ */ +/* $OpenBSD: print-pfsync.c,v 1.27 2004/07/07 23:48:40 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.26 2004/03/22 08:13:10 mcbride Exp $"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-pfsync.c,v 1.27 2004/07/07 23:48:40 mcbride Exp $"; #endif #include <sys/param.h> @@ -120,7 +120,7 @@ pfsync_print(struct pfsync_header *hdr, int len) u_int64_t id; if (eflag) - printf("version %d count %d: ", + printf("PFSYNCv%d count %d: ", hdr->version, hdr->count); if (hdr->action < PFSYNC_ACT_MAX) |