From 49ed82bea199da7f8e7260fe2d52e01ada17c9eb Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Tue, 16 Jul 2024 17:30:45 +0200 Subject: [PATCH] add more info to debug print for freebsd ipv6 support --- src/TNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TNetwork.cpp b/src/TNetwork.cpp index e733ed6..2dca303 100644 --- a/src/TNetwork.cpp +++ b/src/TNetwork.cpp @@ -176,7 +176,7 @@ void TNetwork::TCPServerMain() { } #if defined(BEAMMP_FREEBSD) beammp_warnf("WARNING: On FreeBSD, for IPv4 to work, you must run `sysctl net.inet6.ip6.v6only=0`!"); - beammp_debugf("This is due to an annoying detail in the *BSDs: In the name of security, unsetting the IPV6_V6ONLY option does not work by default (but does not fail???), as it allows IPv4 mapped IPv6 like ::ffff:127.0.0.1, which they deem a security issue."); + beammp_debugf("This is due to an annoying detail in the *BSDs: In the name of security, unsetting the IPV6_V6ONLY option does not work by default (but does not fail???), as it allows IPv4 mapped IPv6 like ::ffff:127.0.0.1, which they deem a security issue. For more information, see RFC 2553, section 3.7."); #endif socket_base::linger LingerOpt {}; LingerOpt.enabled(false);