summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/telnetli.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/telnetli.py')
-rw-r--r--Lib/dos-8x3/telnetli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/dos-8x3/telnetli.py b/Lib/dos-8x3/telnetli.py
index efb2b40..dfd549e 100644
--- a/Lib/dos-8x3/telnetli.py
+++ b/Lib/dos-8x3/telnetli.py
@@ -329,6 +329,7 @@ class Telnet:
opt = self.rawq_getchar()
self.msg('IAC %s %d',
c == WILL and 'WILL' or 'WONT', ord(c))
+ self.sock.send(IAC + DONT + opt)
else:
self.msg('IAC %s not recognized' % `c`)
except EOFError: # raised by self.rawq_getchar()