summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/telnet.c
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1998-12-14 22:40:39 +0000
committerbillf <billf@FreeBSD.org>1998-12-14 22:40:39 +0000
commitcf6ada6c38a7f43c01a80384974b5bb169822f95 (patch)
treebe073a0ef0de6ea55e2fd7c63796a6d96d49b11c /usr.bin/telnet/telnet.c
parent3695233d550885612a33b0c0e24656922f1610ad (diff)
downloadFreeBSD-src-cf6ada6c38a7f43c01a80384974b5bb169822f95.zip
FreeBSD-src-cf6ada6c38a7f43c01a80384974b5bb169822f95.tar.gz
Add "-N" option to supress reverse name lookup.
This comes in really handy when you're telneting the broken DNS server by IP. PR: bin/8698
Diffstat (limited to 'usr.bin/telnet/telnet.c')
-rw-r--r--usr.bin/telnet/telnet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/telnet/telnet.c b/usr.bin/telnet/telnet.c
index 5057969..da8b0e1 100644
--- a/usr.bin/telnet/telnet.c
+++ b/usr.bin/telnet/telnet.c
@@ -106,6 +106,7 @@ int
donebinarytoggle, /* the user has put us in binary */
dontlecho, /* do we suppress local echoing right now? */
globalmode,
+ doaddrlookup = 1, /* do a reverse address lookup? */
clienteof = 0;
char *prompt = 0;
OpenPOWER on IntegriCloud