1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cord_ep: replace sock_udp_str2ep() with sock_udp_name2ep()

This commit is contained in:
Benjamin Valentin 2022-03-24 17:10:51 +01:00
parent 9cab45931a
commit bb8def8b3e

View File

@ -30,7 +30,7 @@
static int make_sock_ep(sock_udp_ep_t *ep, const char *addr)
{
ep->port = 0;
if (sock_udp_str2ep(ep, addr) < 0) {
if (sock_udp_name2ep(ep, addr) < 0) {
return -1;
}
/* if netif not specified in addr */