diff --git a/src/netcode/i_tcp.c b/src/netcode/i_tcp.c
index 282b2ce94eb9f8be3df47b458aaedb174cc1bd23..c0a606ba1bee053f80e6b3acc3d2161c61b39289 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