diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2003-04-02 15:18:22 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2003-04-02 15:18:22 +0000 |
commit | c8a49d743ae2ab739ca4266e7013bc9c3079aaee (patch) | |
tree | 73209aa1d5c6ce9b0771decdb1699bd0a4647cce /packet.c | |
parent | a0ab669c133a756bd5b8f4eef82693e367c49532 (diff) |
- (bal) if IP_TOS is not found or broken don't try to compile in
packet_set_tos() function call. bug #527
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1314,6 +1314,8 @@ packet_not_very_much_data_to_write(void) return buffer_len(&output) < 128 * 1024; } + +#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) static void packet_set_tos(int interactive) { @@ -1327,6 +1329,7 @@ packet_set_tos(int interactive) error("setsockopt IP_TOS %d: %.100s:", tos, strerror(errno)); } +#endif /* Informs that the current session is interactive. Sets IP flags for that. */ |