commit | 03bb8f904507095ec60aa4c79bed793b9cfc3697 | [log] [tgz] |
---|---|---|
author | Mattias Lundberg <lundberg.mattias@gmail.com> | Tue Feb 18 10:06:57 2014 +0100 |
committer | Andy Green <andy.green@linaro.org> | Wed Feb 19 08:38:08 2014 +0800 |
tree | 508b0e099a53cc35eecb3638c646890c828e27c8 | |
parent | 6596e4b2f54c33a1bcfc060f125a5e1ff4a53abd [diff] [blame] |
Add support to binding client to interface.
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 266d5a2..84a10c8 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c
@@ -1973,6 +1973,7 @@ context->http_proxy_port = 0; context->http_proxy_address[0] = '\0'; context->options = info->options; + context->iface = info->iface; /* to reduce this allocation, */ context->max_fds = getdtablesize(); lwsl_notice(" static allocation: %u + (%u x %u fds) = %u bytes\n",