]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-telnet.c
NDOize AH, BEEP and DTP decoders
[tcpdump] / print-telnet.c
index 44a48f475a708c60e870dcbdac0ca18418cd0d49..8b4113cfb0179f01c61339b21e5a603765bf1a27 100644 (file)
 #include "config.h"
 #endif
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.24 2003-12-29 11:05:10 hannes Exp $";
-#endif
-
 #include <tcpdump-stdinc.h>
 
 #include <stdio.h>
@@ -61,7 +56,6 @@ static const char rcsid[] _U_ =
 #include <string.h>
 
 #include "interface.h"
-#include "addrtoname.h"
 
 #define TELCMDS
 #define TELOPTS
@@ -528,7 +522,7 @@ telnet_print(const u_char *sp, u_int length)
                if (Xflag && 2 < vflag) {
                        if (first)
                                printf("\nTelnet:");
-                       hex_print_with_offset("\n", sp, l, sp - osp);
+                       hex_print_with_offset(gndo,"\n", sp, l, sp - osp);
                        if (l > 8)
                                printf("\n\t\t\t\t");
                        else