Explorar o código

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.
Fabio Alessandrelli %!s(int64=6) %!d(string=hai) anos
pai
achega
6d64a54d75
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      thirdparty/libwebsockets/include/lws_config.h

+ 3 - 1
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 */