Listen 'address' for Telnet

This commit is contained in:
Bryan Ashby 2019-04-09 20:25:14 -06:00
parent 3460b98bf5
commit 8114a1e3f2
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 1 deletions

View File

@ -875,7 +875,7 @@ exports.getModule = class TelnetServerModule extends LoginServerModule {
return cb(Errors.Invalid(`Invalid port: ${config.loginServers.telnet.port}`));
}
this.server.listen(port, err => {
this.server.listen(port, config.loginServers.telnet.address, err => {
if(!err) {
Log.info( { server : ModuleInfo.name, port : port }, 'Listening for connections' );
}