Skip to content

Commit 8e76150

Browse files
author
Paul Thompson
committed
Switch to using ip_addr_isany_val
1 parent a463b07 commit 8e76150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/FEATURE_LWIP/lwip-interface/lwip_stack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ static nsapi_error_t mbed_lwip_socket_bind(nsapi_stack_t *stack, nsapi_socket_t
11351135
return NSAPI_ERROR_PARAMETER;
11361136
}
11371137

1138-
if (!ip_addr_isany(&ip_addr) && !mbed_lwip_is_local_addr(&ip_addr)) {
1138+
if (!ip_addr_isany_val(ip_addr) && !mbed_lwip_is_local_addr(&ip_addr)) {
11391139
return NSAPI_ERROR_PARAMETER;
11401140
}
11411141

0 commit comments

Comments
 (0)