# HG changeset patch # User Olaf Wintermann # Date 1677183316 -3600 # Node ID e03d4a00427acf93beb47daf72bd8fe070fc7f38 # Parent 4586d534f9b527fdc7034a6d06cfa9cff0bcae69 fix build on linux diff -r 4586d534f9b5 -r e03d4a00427a src/server/daemon/httplistener.c --- 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,