Use symbolic "IPTOS_LOWDELAY" instead of octal bit value for this socket
option. The bit value was wrong.
This commit is contained in:
parent
94d194c4e9
commit
0193ce074a
@ -2234,7 +2234,7 @@ tn(argc, argv)
|
||||
tos = tp->t_tos;
|
||||
# endif
|
||||
if (tos < 0)
|
||||
tos = 020; /* Low Delay bit */
|
||||
tos = IPTOS_LOWDELAY;
|
||||
if (tos
|
||||
&& (setsockopt(net, IPPROTO_IP, IP_TOS,
|
||||
(char *)&tos, sizeof(int)) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user