Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit 643e3b21 authored by Deucе's avatar Deucе 👌🏾

Default to IPV6_V6ONLY=1 for jsdoor

parent 6aa0bb7c
Pipeline #1747 passed with stage
in 14 minutes and 54 seconds
......@@ -58,8 +58,14 @@ int DLLCALL set_socket_options(scfg_t* cfg, SOCKET sock, const char* protocol, c
/* Set user defined socket options */
if((fp=iniOpenFile(cfgfile,FALSE))==NULL) {
#ifdef JSDOOR
int optval = 1;
// Set the only sane choice...
setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&optval, sizeof(optval));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment