summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index 1b7cd162b..53495b933 100644
--- a/packet.c
+++ b/packet.c
@@ -1259,9 +1259,9 @@ packet_set_interactive(int interactive)
1259 */ 1259 */
1260#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) 1260#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)
1261 if (packet_connection_is_ipv4()) { 1261 if (packet_connection_is_ipv4()) {
1262 if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, 1262 if (setsockopt(connection_in, IPPROTO_IP, IP_TOS,
1263 (void *) &lowdelay, sizeof(lowdelay)) < 0) 1263 (void *) &lowdelay, sizeof(lowdelay)) < 0)
1264 error("setsockopt IPTOS_LOWDELAY: %.100s", 1264 error("setsockopt IPTOS_LOWDELAY: %.100s",
1265 strerror(errno)); 1265 strerror(errno));
1266 } 1266 }
1267#endif 1267#endif