- (djm) Avoid warnings for missing broken IP_TOS. Patch from Mark Miller

<markm@swoon.net>
This commit is contained in:
Damien Miller 2001-02-27 14:03:30 +11:00
parent 3456d32a92
commit 0bcf9eacdf
2 changed files with 6 additions and 2 deletions

View File

@ -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.
@ -4152,4 +4154,4 @@
- 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 $

View File

@ -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)