summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/packet.c b/packet.c
index 3e21df722..254e452d0 100644
--- a/packet.c
+++ b/packet.c
@@ -1314,6 +1314,8 @@ packet_not_very_much_data_to_write(void)
1314 return buffer_len(&output) < 128 * 1024; 1314 return buffer_len(&output) < 128 * 1024;
1315} 1315}
1316 1316
1317
1318#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
1317static void 1319static void
1318packet_set_tos(int interactive) 1320packet_set_tos(int interactive)
1319{ 1321{
@@ -1327,6 +1329,7 @@ packet_set_tos(int interactive)
1327 error("setsockopt IP_TOS %d: %.100s:", 1329 error("setsockopt IP_TOS %d: %.100s:",
1328 tos, strerror(errno)); 1330 tos, strerror(errno));
1329} 1331}
1332#endif
1330 1333
1331/* Informs that the current session is interactive. Sets IP flags for that. */ 1334/* Informs that the current session is interactive. Sets IP flags for that. */
1332 1335