Add client.friendlyRemoteAddress() for 'clean' remote IP

This commit is contained in:
Bryan Ashby
2022-06-04 17:39:48 -06:00
parent 0b11e629a6
commit 1ba866f2ca
4 changed files with 8 additions and 2 deletions

View File

@@ -113,6 +113,7 @@ function addNewClient(client, clientSock) {
const connInfo = {
remoteAddress : remoteAddress,
freiendlyRemoteAddress: client.friendlyRemoteAddress(),
serverName : client.session.serverName,
isSecure : client.session.isSecure,
};