emb6_sock_udp: provide port for #9376 API fix
This commit is contained in:
parent
f8524cb4c0
commit
45107b529d
@ -84,7 +84,6 @@ int sock_udp_create(sock_udp_t *sock, const sock_udp_ep_t *local,
|
|||||||
|
|
||||||
(void)flags;
|
(void)flags;
|
||||||
assert((sock != NULL));
|
assert((sock != NULL));
|
||||||
assert((local == NULL) || (local->port != 0));
|
|
||||||
assert((remote == NULL) || (remote->port != 0));
|
assert((remote == NULL) || (remote->port != 0));
|
||||||
if (sock->sock.input_callback != NULL) {
|
if (sock->sock.input_callback != NULL) {
|
||||||
sock_udp_close(sock);
|
sock_udp_close(sock);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user