fix build on linux

Thu, 23 Feb 2023 21:15:16 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 23 Feb 2023 21:15:16 +0100
changeset 454
e03d4a00427a
parent 453
4586d534f9b5
child 455
e52a9fc670d2

fix build on linux

src/server/daemon/httplistener.c file | annotate | diff | comparison | revisions
--- a/src/server/daemon/httplistener.c	Thu Feb 23 21:09:33 2023 +0100
+++ b/src/server/daemon/httplistener.c	Thu Feb 23 21:15:16 2023 +0100
@@ -249,7 +249,7 @@
     if(!ipv4) {
         o = 1;
         setsockopt(
-                listener->server_socket6,
+                s,
                 IPPROTO_IPV6,
                 IPV6_V6ONLY,
                 &o,

mercurial