diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2009-01-29 09:46:33 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2009-01-29 09:46:33 +0000 |
commit | f1b5fd9fb4b135c42fa8ca81a521db3c8cd39f8c (patch) | |
tree | 8323868193b4b2ff24b867e7edb58857b2505ea3 /usr.sbin/tcpdump/print-bgp.c | |
parent | d392a48db31cf12708c98a3211b5a7c716d21038 (diff) |
In tcpdump some printf() had an additional \n at the end. Removing
that new line restores the one-line -> one-packet semantics.
ok hshoexer@, henning@, markus@
Diffstat (limited to 'usr.sbin/tcpdump/print-bgp.c')
-rw-r--r-- | usr.sbin/tcpdump/print-bgp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-bgp.c b/usr.sbin/tcpdump/print-bgp.c index b0be91adee8..55fdf30cc09 100644 --- a/usr.sbin/tcpdump/print-bgp.c +++ b/usr.sbin/tcpdump/print-bgp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-bgp.c,v 1.10 2007/10/07 16:41:05 deraadt Exp $ */ +/* $OpenBSD: print-bgp.c,v 1.11 2009/01/29 09:46:32 bluhm Exp $ */ /* * Copyright (C) 1999 WIDE Project. @@ -31,7 +31,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Id: print-bgp.c,v 1.10 2007/10/07 16:41:05 deraadt Exp $"; + "@(#) $Id: print-bgp.c,v 1.11 2009/01/29 09:46:32 bluhm Exp $"; #endif #include <sys/param.h> @@ -649,7 +649,7 @@ bgp_update_print(const u_char *dat, int length) i += wpfx; printf(" %s", buf); } - printf(")\n"); + printf(")"); #endif } p += 2 + len; |