From 95047ba6953fd2009ae0b8d448c21f8d22d6e3a3 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 22 Mar 2018 13:44:43 +0200 Subject: [PATCH] Fix order in oidentd file oident'd parser expects exact order and the man page is written incorrectly. --- src/identification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/identification.js b/src/identification.js index e6feec9b..1aec0923 100644 --- a/src/identification.js +++ b/src/identification.js @@ -91,9 +91,9 @@ class Identification { this.connections.forEach((connection) => { file += `to ${connection.socket.remoteAddress}` - + ` lport ${connection.socket.localPort}` - + ` from ${connection.socket.localAddress}` + ` fport ${connection.socket.remotePort}` + + ` from ${connection.socket.localAddress}` + + ` lport ${connection.socket.localPort}` + ` { reply "${connection.user}" }\n`; });