From f1b5fd9fb4b135c42fa8ca81a521db3c8cd39f8c Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Thu, 29 Jan 2009 09:46:33 +0000 Subject: 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@ --- usr.sbin/tcpdump/print-bgp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/tcpdump/print-bgp.c') 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 @@ -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; -- cgit v1.2.3