parent
4c0d74bc12
commit
8da7dbe766
|
@ -559,7 +559,11 @@ METHOD(socket_t, sender, status_t,
|
|||
{
|
||||
if (family == AF_INET)
|
||||
{
|
||||
#ifdef __FreeBSD__
|
||||
int ds4;
|
||||
#else
|
||||
uint8_t ds4;
|
||||
#endif
|
||||
|
||||
ds4 = packet->get_dscp(packet) << 2;
|
||||
if (setsockopt(skt, SOL_IP, IP_TOS, &ds4, sizeof(ds4)) == 0)
|
||||
|
|
Loading…
Reference in New Issue