]> tinc-vpn.org Git - tinc/blobdiff - src/net_setup.c
Stop using SOL_TCP, SOL_IP and SOL_IPV6.
[tinc] / src / net_setup.c
index 0c074719cad4fd7566ddbe8620302bbd5ccd79b4..cbd3954cbfb675fb85b672006185a3b6fb917dda 100644 (file)
@@ -591,7 +591,7 @@ bool setup_myself_reloadable(void) {
                subnet_add(NULL, s);
        }
 
-#if !defined(SOL_IP) || !defined(IP_TOS)
+#if !defined(IPPROTO_IP) || !defined(IP_TOS)
        if(priorityinheritance)
                logger(DEBUG_ALWAYS, LOG_WARNING, "%s not supported on this platform for IPv4 connections", "PriorityInheritance");
 #endif