summaryrefslogtreecommitdiff
path: root/print-telnet.c
diff options
context:
space:
mode:
authoritojun <itojun>2001-06-26 15:19:41 +0000
committeritojun <itojun>2001-06-26 15:19:41 +0000
commitf1f69b415cebd0beb765b53e6162e1bf998b1fbe (patch)
treedb19ee7db5b71a6d73f1333de0d43ad42220fcca /print-telnet.c
parent06cfebcb4e953fdbf857f7782dfb74e01881b7b3 (diff)
downloadtcpdump-f1f69b415cebd0beb765b53e6162e1bf998b1fbe.tar.gz
copy <arpa/telnet.h> from netbsd, into "telnet.h"
Diffstat (limited to 'print-telnet.c')
-rw-r--r--print-telnet.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/print-telnet.c b/print-telnet.c
index af1218f6..64b45299 100644
--- a/print-telnet.c
+++ b/print-telnet.c
@@ -51,7 +51,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.16 2001-06-26 03:01:10 itojun Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.17 2001-06-26 15:19:41 itojun Exp $";
#endif
#include <sys/param.h>
@@ -61,10 +61,6 @@ static const char rcsid[] =
#include <netinet/in.h>
-#define TELCMDS
-#define TELOPTS
-#include <arpa/telnet.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -73,9 +69,9 @@ static const char rcsid[] =
#include "interface.h"
#include "addrtoname.h"
-#ifndef TELCMD_FIRST
-# define TELCMD_FIRST SE
-#endif
+#define TELCMDS
+#define TELOPTS
+#include "telnet.h"
/* normal */
static const char *cmds[] = {