]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (djm) Avoid warnings for missing broken IP_TOS. Patch from Mark Miller
authorDamien Miller <djm@mindrot.org>
Tue, 27 Feb 2001 03:03:30 +0000 (14:03 +1100)
committerDamien Miller <djm@mindrot.org>
Tue, 27 Feb 2001 03:03:30 +0000 (14:03 +1100)
   <markm@swoon.net>

ChangeLog
packet.c

index c1111eb4813b173e0e3f62bec62c194f7724a5b4..9dfcadf6d79ecf90be5bdd602d70ee5710810c93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,7 +17,9 @@
  - (djm) Fix PAM fix
  - (djm) Remove 'noreplace' flag from sshd_config in RPM spec files. This
    change is being made as 2.5.x configfiles are not back-compatible with
-  2.3.x.
+   2.3.x.
+ - (djm) Avoid warnings for missing broken IP_TOS. Patch from Mark Miller
+   <markm@swoon.net>
 
 20010226
  - (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again.
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.834 2001/02/26 23:53:00 djm Exp $
+$Id: ChangeLog,v 1.835 2001/02/27 03:03:37 djm Exp $
index fb431455360c5d49b13eda96deebb27a5c34d2b7..5213e43e898ffee60c39e7abbca46904553faaa8 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -1232,8 +1232,10 @@ void
 packet_set_interactive(int interactive)
 {
        static int called = 0;
+#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
        int lowdelay = IPTOS_LOWDELAY;
        int throughput = IPTOS_THROUGHPUT;
+#endif
        int on = 1;
 
        if (called)