[PATCH] Remove setting IP_TOS_IS_BROKEN for Cygwin

Corinna Vinschen vinschen at redhat.com
Thu Mar 19 02:07:36 EST 2009


Hi,

The problem that setsockopt(IP_TOS) doesn't work on Cygwin is long
fixed.  Ages ago Microsoft changed the definition for IP_TOS when moving
from winsock1 to winsock2 and IP_TOS in Cygwin didn't work all these
years because nobody (that's especialy me) realized that we were still
using the old winsock1 value.  This has been fixed since 2005, though.

Patch below.


Corinna


Index: configure.ac
===================================================================
RCS file: /cvs/openssh/configure.ac,v
retrieving revision 1.418
diff -u -p -r1.418 configure.ac
--- configure.ac	7 Mar 2009 11:22:35 -0000	1.418
+++ configure.ac	18 Mar 2009 15:03:02 -0000
@@ -434,8 +434,6 @@ int main(void) { exit(0); }
 	AC_DEFINE(USE_PIPES, 1, [Use PIPES instead of a socketpair()])
 	AC_DEFINE(DISABLE_SHADOW, 1,
 		[Define if you want to disable shadow passwords])
-	AC_DEFINE(IP_TOS_IS_BROKEN, 1,
-		[Define if your system choked on IP TOS setting])
 	AC_DEFINE(NO_X11_UNIX_SOCKETS, 1,
 		[Define if X11 doesn't support AF_UNIX sockets on that system])
 	AC_DEFINE(NO_IPPORT_RESERVED_CONCEPT, 1,

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


More information about the openssh-unix-dev mailing list