mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Omit ToS setting if we don't have IPV6_TCLASS too.
Fixes tests on old BSDs.
This commit is contained in:
parent
f85b118d21
commit
837ffa9699
@ -1187,7 +1187,7 @@ set_common_sockopts(int s, int af)
|
||||
&x, sizeof(x)) == -1)
|
||||
err(1, "setsockopt");
|
||||
}
|
||||
#ifdef IP_TOS
|
||||
#if defined(IP_TOS) && defined(IPV6_TCLASS)
|
||||
if (Tflag != -1) {
|
||||
int proto, option;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user