Skip to content

Commit b6219d7

Browse files
committed
Bug fix in SO_BROADCAST
1 parent 78ba030 commit b6219d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/FEATURE_LWIP/lwip-interface/lwip_stack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,7 @@ static nsapi_error_t mbed_lwip_setsockopt(nsapi_stack_t *stack, nsapi_socket_t h
868868
} else {
869869
s->conn->pcb.udp->so_options &= SOF_BROADCAST;
870870
}
871+
return 0;
871872

872873
default:
873874
return NSAPI_ERROR_UNSUPPORTED;

0 commit comments

Comments
 (0)