diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-27 14:03:30 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-27 14:03:30 +1100 |
commit | 0bcf9eacdf30c8bd496d39f45afa6e2cb74a2363 (patch) | |
tree | 6501375d706164f4598733f279dd2471de4f29fb /packet.c | |
parent | 3456d32a9259038fd64d21f33d43489197bae975 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1232,8 +1232,10 @@ void | |||
1232 | packet_set_interactive(int interactive) | 1232 | packet_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) |