summaryrefslogtreecommitdiff
path: root/security/ssh6/patches/patch-ah
blob: 5082a050db4c5096e1da0b2cd76048828ea7ccd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-ah,v 1.1 2000/03/20 02:25:35 itojun Exp $

--- packet.c.orig	Wed May 12 07:19:27 1999
+++ packet.c	Fri Dec 24 21:50:42 1999
@@ -829,6 +829,7 @@
     {
       /* Set IP options for an interactive connection.  Use IPTOS_LOWDELAY
          and TCP_NODELAY. */
+#if 0
 #ifdef IPTOS_LOWDELAY
       int lowdelay = IPTOS_LOWDELAY;
       if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *)&lowdelay, 
@@ -840,11 +841,13 @@
                      sizeof(on)) < 0)
         error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
 #endif /* TCP_NODELAY */
+#endif /* 0 */
     }
   else
     {
       /* Set IP options for a non-interactive connection.  Use 
          IPTOS_THROUGHPUT. */
+#if 0
 #ifdef IPTOS_THROUGHPUT
       int throughput = IPTOS_THROUGHPUT;
       if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *)&throughput, 
@@ -856,6 +859,7 @@
                      sizeof(off)) < 0)
         error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
 #endif /* TCP_NODELAY */
+#endif /* 0 */
     }
 }