X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=4f9d738f7c9498d3876cbe98fd4c4becf39b2416;hp=ad9398db4cf157faac427aba4f19cd5375538864;hb=0b2361a9399944cd57def87226f2be7f92646aa5;hpb=b8acb89add4e553d141a45392bc0126c331deee6 diff --git a/src/net_setup.c b/src/net_setup.c index ad9398db..4f9d738f 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -637,7 +637,7 @@ bool setup_myself_reloadable(void) { subnet_add(NULL, s); } -#if !defined(IPPROTO_IP) || !defined(IP_TOS) +#if !defined(IP_TOS) if(priorityinheritance) { logger(DEBUG_ALWAYS, LOG_WARNING, "%s not supported on this platform for IPv4 connections", "PriorityInheritance"); @@ -645,7 +645,7 @@ bool setup_myself_reloadable(void) { #endif -#if !defined(IPPROTO_IPV6) || !defined(IPV6_TCLASS) +#if !defined(IPV6_TCLASS) if(priorityinheritance) { logger(DEBUG_ALWAYS, LOG_WARNING, "%s not supported on this platform for IPv6 connections", "PriorityInheritance");