summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-27 14:03:30 +1100
committerDamien Miller <djm@mindrot.org>2001-02-27 14:03:30 +1100
commit0bcf9eacdf30c8bd496d39f45afa6e2cb74a2363 (patch)
tree6501375d706164f4598733f279dd2471de4f29fb /packet.c
parent3456d32a9259038fd64d21f33d43489197bae975 (diff)
- (djm) Avoid warnings for missing broken IP_TOS. Patch from Mark Miller
<markm@swoon.net>
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/packet.c b/packet.c
index fb4314553..5213e43e8 100644
--- a/packet.c
+++ b/packet.c
@@ -1232,8 +1232,10 @@ void
1232packet_set_interactive(int interactive) 1232packet_set_interactive(int interactive)
1233{ 1233{
1234 static int called = 0; 1234 static int called = 0;
1235#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
1235 int lowdelay = IPTOS_LOWDELAY; 1236 int lowdelay = IPTOS_LOWDELAY;
1236 int throughput = IPTOS_THROUGHPUT; 1237 int throughput = IPTOS_THROUGHPUT;
1238#endif
1237 int on = 1; 1239 int on = 1;
1238 1240
1239 if (called) 1241 if (called)