mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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;
|
||||
assert((sock != NULL));
|
||||
assert((local == NULL) || (local->port != 0));
|
||||
assert((remote == NULL) || (remote->port != 0));
|
||||
if (sock->sock.input_callback != NULL) {
|
||||
sock_udp_close(sock);
|
||||
|
Loading…
Reference in New Issue
Block a user