Skip to content

Commit 7f2c00b

Browse files
committed
set ip type of service to set specific precedence for QoS
1 parent fcb3889 commit 7f2c00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectivity/lwipstack/source/LWIPStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ nsapi_error_t LWIP::setsockopt(nsapi_socket_t handle, int level, int optname, co
666666

667667
case NSAPI_IPTOS:
668668
if (optlen != sizeof(int)) {
669-
return NSAPI_ERROR_UNSUPPORTED;
669+
return NSAPI_ERROR_UNSUPPORTED;
670670
}
671671
s->conn->pcb.ip->tos = (u8_t)(*(const int *)optval);
672672
return 0;

0 commit comments

Comments
 (0)