1
0
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:
Martine Lenders 2018-06-20 14:20:54 +02:00
parent f8524cb4c0
commit 45107b529d

View File

@ -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);