From 2b591a94117f9c25a51f91682a60e4b12bb88fe5 Mon Sep 17 00:00:00 2001 From: Ryan Thomas McBride Date: Wed, 7 Jul 2004 23:48:41 +0000 Subject: Include protocol name in printout. --- usr.sbin/tcpdump/print-pfsync.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/tcpdump') 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 @@ -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) -- cgit v1.2.3