void-packages/srcpkgs/libwebsockets/patches/fix-ipv6.patch
2016-05-05 22:20:24 +02:00

11 lines
340 B
Diff

--- lib/server.c.orig 2016-05-05 22:02:19.415381744 +0200
+++ lib/server.c 2016-05-05 22:02:25.795382036 +0200
@@ -67,7 +67,7 @@ lws_context_init_server(struct lws_conte
else
#endif
#ifdef LWS_USE_IPV6
- if (LWS_IPV6_ENABLED(context))
+ if (LWS_IPV6_ENABLED(vhost->context))
sockfd = socket(AF_INET6, SOCK_STREAM, 0);
else
#endif