summaryrefslogtreecommitdiff
path: root/print-telnet.c
diff options
context:
space:
mode:
authorhannes <hannes>2003-12-29 11:05:09 +0000
committerhannes <hannes>2003-12-29 11:05:09 +0000
commit60263ffef678ebb7d0d139a8c4d06446c2ea15f4 (patch)
treec29e167244d4e9753c17a449edfee1d067e13761 /print-telnet.c
parent5c739aff6361f9d637ddb6338f2314de4eb5ea56 (diff)
downloadtcpdump-60263ffef678ebb7d0d139a8c4d06446c2ea15f4.tar.gz
pass on ident string to hex_print()
Diffstat (limited to 'print-telnet.c')
-rw-r--r--print-telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-telnet.c b/print-telnet.c
index bf2f1719..4911e5ca 100644
--- a/print-telnet.c
+++ b/print-telnet.c
@@ -51,7 +51,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.23 2003-11-16 09:36:39 guy Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.24 2003-12-29 11:05:10 hannes Exp $";
#endif
#include <tcpdump-stdinc.h>
@@ -244,7 +244,7 @@ telnet_print(const u_char *sp, u_int length)
if (Xflag && 2 < vflag) {
if (first)
printf("\nTelnet:");
- hex_print_with_offset(sp, l, sp - osp);
+ hex_print_with_offset("\n", sp, l, sp - osp);
if (l > 8)
printf("\n\t\t\t\t");
else