wsproxy: normalize ips.
This commit is contained in:
parent
fa08d90475
commit
1927524c47
@ -183,7 +183,7 @@ function SocketState(server, socket) {
|
|||||||
this.target = server.target;
|
this.target = server.target;
|
||||||
this.snonce = utils.nonce(true);
|
this.snonce = utils.nonce(true);
|
||||||
this.socket = null;
|
this.socket = null;
|
||||||
this.host = socket.conn.remoteAddress;
|
this.host = IP.normalize(socket.conn.remoteAddress);
|
||||||
this.remoteHost = null;
|
this.remoteHost = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user