summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--packet.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 91e2c892a..2e8fd43d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
3 into the platform-specific code Only affects SCO, tested by and ok tim@. 3 into the platform-specific code Only affects SCO, tested by and ok tim@.
4 - (djm) [loginrec.c] Relax permission requirement on btmp logs to allow 4 - (djm) [loginrec.c] Relax permission requirement on btmp logs to allow
5 group read/write. ok dtucker@ 5 group read/write. ok dtucker@
6 - (dtucker) [packet.c] Remove redundant local declaration of "int tos".
6 7
720101122 820101122
8 - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch 9 - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch
diff --git a/packet.c b/packet.c
index 012c39a3c..b4e01f716 100644
--- a/packet.c
+++ b/packet.c
@@ -1753,8 +1753,6 @@ static void
1753packet_set_tos(int tos) 1753packet_set_tos(int tos)
1754{ 1754{
1755#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) 1755#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
1756 int tos = interactive ? IPTOS_LOWDELAY : IPTOS_THROUGHPUT;
1757
1758 if (!packet_connection_is_on_socket() || 1756 if (!packet_connection_is_on_socket() ||
1759 !packet_connection_is_ipv4()) 1757 !packet_connection_is_ipv4())
1760 return; 1758 return;