diff options
author | Oz Linden <oz@lindenlab.com> | 2018-08-30 16:25:45 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2018-08-30 16:25:45 -0400 |
commit | 88e04ab2ab2a13cd660f33e64c52ad3375144d2a (patch) | |
tree | f2a8252c03a2ca4cb4171115089c282dbdb9cae2 /indra/llmessage/lliosocket.cpp | |
parent | f561b11fb899597682056eb2abd8337fc4703e1f (diff) |
Restore the ability for sockets to specify the interface to listen on
Diffstat (limited to 'indra/llmessage/lliosocket.cpp')
-rw-r--r-- | indra/llmessage/lliosocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmessage/lliosocket.cpp b/indra/llmessage/lliosocket.cpp index b7460df508..b15b98db80 100644 --- a/indra/llmessage/lliosocket.cpp +++ b/indra/llmessage/lliosocket.cpp @@ -101,7 +101,7 @@ void ll_debug_socket(const char* msg, apr_socket_t* apr_sock) /// // static -LLSocket::ptr_t LLSocket::create(apr_pool_t* pool, EType type, U16 port) +LLSocket::ptr_t LLSocket::create(apr_pool_t* pool, EType type, U16 port, const char *hostname) { LLSocket::ptr_t rv; apr_socket_t* socket = NULL; @@ -150,7 +150,7 @@ LLSocket::ptr_t LLSocket::create(apr_pool_t* pool, EType type, U16 port) apr_sockaddr_t* sa = NULL; status = apr_sockaddr_info_get( &sa, - APR_ANYADDR, + hostname, APR_UNSPEC, port, 0, |