=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/packet.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/ssh/packet.c 1999/09/30 05:11:29 1.5 +++ src/usr.bin/ssh/packet.c 1999/09/30 05:53:04 1.6 @@ -15,7 +15,7 @@ */ #include "includes.h" -RCSID("$Id: packet.c,v 1.5 1999/09/30 05:11:29 deraadt Exp $"); +RCSID("$Id: packet.c,v 1.6 1999/09/30 05:53:04 deraadt Exp $"); #include "xmalloc.h" #include "buffer.h" @@ -712,12 +712,10 @@ { /* Set IP options for an interactive connection. Use IPTOS_LOWDELAY and TCP_NODELAY. */ -#ifdef IPTOS_LOWDELAY int lowdelay = IPTOS_LOWDELAY; if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *)&lowdelay, sizeof(lowdelay)) < 0) error("setsockopt IPTOS_LOWDELAY: %.100s", strerror(errno)); -#endif /* IPTOS_LOWDELAY */ if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *)&on, sizeof(on)) < 0) error("setsockopt TCP_NODELAY: %.100s", strerror(errno)); @@ -726,12 +724,10 @@ { /* Set IP options for a non-interactive connection. Use IPTOS_THROUGHPUT. */ -#ifdef IPTOS_THROUGHPUT int throughput = IPTOS_THROUGHPUT; if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *)&throughput, sizeof(throughput)) < 0) error("setsockopt IPTOS_THROUGHPUT: %.100s", strerror(errno)); -#endif /* IPTOS_THROUGHPUT */ } }