]> andersk Git - openssh.git/commitdiff
- (bal) if IP_TOS is not found or broken don't try to compile in
authormouring <mouring>
Wed, 2 Apr 2003 15:18:22 +0000 (15:18 +0000)
committermouring <mouring>
Wed, 2 Apr 2003 15:18:22 +0000 (15:18 +0000)
   packet_set_tos() function call.  bug #527

ChangeLog
packet.c

index ca93b69d28dccb0a929535c15d294837de41f3b5..c34a7e135667c0cc4dcdcb97f6825b2a2b105ee0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20030402
+ - (bal) if IP_TOS is not found or broken don't try to compile in
+   packet_set_tos() function call.  bug #527
+
 20030401
  - (djm) OpenBSD CVS Sync
    - jmc@cvs.openbsd.org 2003/03/28 10:11:43
index 3e21df722a376fa4ce56cdef426f8e6a08479fe3..254e452d0112d6b8fac938972f61c1125a3a1274 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -1314,6 +1314,8 @@ packet_not_very_much_data_to_write(void)
                return buffer_len(&output) < 128 * 1024;
 }
 
+
+#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
 static void
 packet_set_tos(int interactive)
 {
@@ -1327,6 +1329,7 @@ packet_set_tos(int interactive)
                error("setsockopt IP_TOS %d: %.100s:",
                    tos, strerror(errno));
 }
+#endif
 
 /* Informs that the current session is interactive.  Sets IP flags for that. */
 
This page took 0.039616 seconds and 5 git commands to generate.