diff options
| author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-03-06 06:34:31 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-03-06 06:34:31 +0100 |
| commit | 6d64a54d75ca0ad2bfd11a8acc3aeb2444b60cee (patch) | |
| tree | a86588fa9c7a91b9cb478bdc2705ebcaae38c8f8 | |
| parent | e3ddf1269368db5f476e0980e9b5127c7034d9fd (diff) | |
Disable WebSocket IPv6 support on OpenBSD.
OpenBSD does not support dual stacking, disabling IPv6 for now.
Will possibly come back if/when we get websocket running using our own
NetSocket class.
| -rw-r--r-- | thirdparty/libwebsockets/include/lws_config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/libwebsockets/include/lws_config.h b/thirdparty/libwebsockets/include/lws_config.h index 6ec3eed139..fdf02157cc 100644 --- a/thirdparty/libwebsockets/include/lws_config.h +++ b/thirdparty/libwebsockets/include/lws_config.h @@ -77,8 +77,10 @@ /* #undef LWS_WITH_LIBEVENT */ /* Build with support for ipv6 */ -/* #undef LWS_WITH_IPV6 */ +/* Everywhere, except in OpenBSD which does not support dual stacking */ +#if !defined(__OpenBSD__) #define LWS_WITH_IPV6 +#endif /* Build with support for UNIX domain socket */ /* #undef LWS_WITH_UNIX_SOCK */ |