Browse Source

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 6 years ago
parent
commit
6d64a54d75
1 changed files with 3 additions and 1 deletions
  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 */