X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;fp=src%2Fnet_setup.c;h=765a9ebf37a1ea0bd11b01c49b84247b6e76d87c;hp=a00a32109d9a3080c0a8ae6b13f5fa9151315c2a;hb=c72e237caa22525ab36a8286758e47544db3d496;hpb=ac11a79ba7d56e8c770b3dd4c503b9243c4ea4e3 diff --git a/src/net_setup.c b/src/net_setup.c index a00a3210..765a9ebf 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -539,7 +539,12 @@ static bool setup_myself(void) { #if !defined(SOL_IP) || !defined(IP_TOS) if(priorityinheritance) - logger(LOG_WARNING, "%s not supported on this platform", "PriorityInheritance"); + logger(LOG_WARNING, "%s not supported on this platform for IPv4 connection", "PriorityInheritance"); +#endif + +#if !defined(IPPROTO_IPV6) || !defined(IPV6_TCLASS) + if(priorityinheritance) + logger(LOG_WARNING, "%s not supported on this platform for IPv6 connection", "PriorityInheritance"); #endif if(!get_config_int(lookup_config(config_tree, "MACExpire"), &macexpire))