Fix order in oidentd file

oident'd parser expects exact order and the man page is written incorrectly.
This commit is contained in:
Pavel Djundik 2018-03-22 13:44:43 +02:00 committed by GitHub
parent c8b5165618
commit 95047ba695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,9 +91,9 @@ class Identification {
this.connections.forEach((connection) => { this.connections.forEach((connection) => {
file += `to ${connection.socket.remoteAddress}` file += `to ${connection.socket.remoteAddress}`
+ ` lport ${connection.socket.localPort}`
+ ` from ${connection.socket.localAddress}`
+ ` fport ${connection.socket.remotePort}` + ` fport ${connection.socket.remotePort}`
+ ` from ${connection.socket.localAddress}`
+ ` lport ${connection.socket.localPort}`
+ ` { reply "${connection.user}" }\n`; + ` { reply "${connection.user}" }\n`;
}); });