Don't fallback to host in identd server

This commit is contained in:
Pavel Djundik 2019-01-06 20:55:15 +02:00 committed by GitHub
parent 4b75b42597
commit fedbb0b819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ class Identification {
const server = net.createServer(this.serverConnection.bind(this)); const server = net.createServer(this.serverConnection.bind(this));
server.listen({ server.listen({
port: Helper.config.identd.port || 113, port: Helper.config.identd.port || 113,
host: Helper.config.bind || Helper.config.host, host: Helper.config.bind,
}, () => { }, () => {
const address = server.address(); const address = server.address();
log.info(`Identd server available on ${colors.green(address.address + ":" + address.port)}`); log.info(`Identd server available on ${colors.green(address.address + ":" + address.port)}`);