diff options
Diffstat (limited to 'native_client_sdk/src/libraries/nacl_io')
-rw-r--r-- | native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc b/native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc index 2066c71..445dfe7 100644 --- a/native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc +++ b/native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc @@ -455,6 +455,7 @@ Error TcpNode::Bind(const struct sockaddr* addr, socklen_t len) { return PPErrorToErrno(err); } + local_addr_ = TCPInterface()->GetLocalAddress(socket_resource_); return 0; } |