wsproxy: normalize ips.

This commit is contained in:
Christopher Jeffrey 2016-08-27 18:09:21 -07:00
parent fa08d90475
commit 1927524c47
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -183,7 +183,7 @@ function SocketState(server, socket) {
this.target = server.target;
this.snonce = utils.nonce(true);
this.socket = null;
this.host = socket.conn.remoteAddress;
this.host = IP.normalize(socket.conn.remoteAddress);
this.remoteHost = null;
}