summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-ipsec.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2015-03-29 14:09:29 +0000
committerbluhm <bluhm@openbsd.org>2015-03-29 14:09:29 +0000
commit3a2aad8353c534a9baa52b643c22af4c762a1ca0 (patch)
tree25bd6ebeaf255815caec979ad0b18b0ac6947b9c /usr.sbin/tcpdump/print-ipsec.c
parentReject packets that are too large. (diff)
downloadwireguard-openbsd-3a2aad8353c534a9baa52b643c22af4c762a1ca0.tar.xz
wireguard-openbsd-3a2aad8353c534a9baa52b643c22af4c762a1ca0.zip
Most packets generate one line in tcpdump. For AH and RIP there
was an extra line without benefit. Remove the new-line in printf to make parsing easier. OK lteo@ mikeb@
Diffstat (limited to 'usr.sbin/tcpdump/print-ipsec.c')
-rw-r--r--usr.sbin/tcpdump/print-ipsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-ipsec.c b/usr.sbin/tcpdump/print-ipsec.c
index c04cb2da75d..829b3e21dd1 100644
--- a/usr.sbin/tcpdump/print-ipsec.c
+++ b/usr.sbin/tcpdump/print-ipsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ipsec.c,v 1.20 2015/01/16 06:40:21 deraadt Exp $ */
+/* $OpenBSD: print-ipsec.c,v 1.21 2015/03/29 14:09:29 bluhm Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
@@ -279,7 +279,7 @@ ah_print (register const u_char *bp, register u_int len,
ntohl(ah->ah_spi), ntohl(ah->ah_seq), len);
if (vflag) {
- (void)printf("\n\t[ ");
+ (void)printf(" [ ");
pl_len = (ah->ah_pl_len + 2) << 2; /* RFC2402, sec 2.2 */