summaryrefslogtreecommitdiffstats
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 fb431455..5213e43e 100644
--- 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)