Skip to content

Commit 5ffa565

Browse files
committed
11
1 parent 69a1699 commit 5ffa565

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OpenFlow/src/WebSocketClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export class WebSocketClient {
4646
this._socketObject = socketObject;
4747
this._receiveQueue = [];
4848
this._sendQueue = [];
49-
if (socketObject._socket != undefined) {
50-
this.remoteip = socketObject._socket.remoteAddress;
49+
if ((socketObject as any)._socket != undefined) {
50+
this.remoteip = (socketObject as any)._socket.remoteAddress;
5151
}
5252
logger.info("new client ");;
5353
socketObject.on("open", (e: Event): void => this.open(e));

0 commit comments

Comments
 (0)