From 4bb8183e6f915bb0155f647c0c77e8a60277404a Mon Sep 17 00:00:00 2001 From: Alam Ed Arias <alam@srb2.org> Date: Sun, 2 Feb 2025 12:43:05 -0500 Subject: [PATCH] Show in log if IPv6 support is disabled fixup --- src/netcode/i_tcp.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/netcode/i_tcp.c b/src/netcode/i_tcp.c index 282b2ce94e..c0a606ba1b 100644 --- a/src/netcode/i_tcp.c +++ b/src/netcode/i_tcp.c @@ -936,6 +936,13 @@ static boolean UDP_Socket(void) hints.ai_socktype = SOCK_DGRAM; hints.ai_protocol = IPPROTO_UDP; +#ifdef HAVE_IPV6 + if (!b_ipv6) + I_OutputMsg("Disabling IPv6 support at runtime\n"); +#else + I_OutputMsg("Compiled without IPv6 support\n"); +#endif + if (serverrunning) serv = serverport_name; else -- GitLab