Don't send back don't in respond to wont new_environ

This commit is contained in:
Bryan Ashby 2020-05-31 11:49:32 -06:00
parent a15abc6062
commit 29ef0935c3
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
2 changed files with 5 additions and 11 deletions

View File

@ -90,13 +90,7 @@ class TelnetClient {
}); });
this.socket.on('WONT', command => { this.socket.on('WONT', command => {
switch (command.option) { return this._logTrace(command, 'WONT');
case Options.NEW_ENVIRON :
return this.socket.dont.new_environ();
default :
return this._logTrace(command, 'WONT');
}
}); });
this.socket.on('SB', command => { this.socket.on('SB', command => {

View File

@ -1840,10 +1840,10 @@ tar@^4:
safe-buffer "^5.1.2" safe-buffer "^5.1.2"
yallist "^3.0.2" yallist "^3.0.2"
telnet-socket@^0.2.1: telnet-socket@^0.2.2:
version "0.2.1" version "0.2.2"
resolved "https://registry.yarnpkg.com/telnet-socket/-/telnet-socket-0.2.1.tgz#1b7d74152a90740a630c166070ab6e751f50fda1" resolved "https://registry.yarnpkg.com/telnet-socket/-/telnet-socket-0.2.2.tgz#9abf29bbd022f2bc1176fd35ab62ca94e62916c1"
integrity sha512-8o5kIq5CGvaEuVbVTl40Lw9NCz2v68Il2Skb7iMLuid23kWV3Sq5AAg5lIl5o0H7agoJkEGNlmMRp/6+saDaNA== integrity sha512-fKcpbCNn8NQ1wBshjliTLh4UmbXq0iYhoPsc48RTJfgdisxQOyLJe8dMwH26ezx03pEM4GWpg9ge+g4DGz7c/Q==
dependencies: dependencies:
binary-parser "1.6.2" binary-parser "1.6.2"
buffers "github:NuSkooler/node-buffers" buffers "github:NuSkooler/node-buffers"