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:
parent
9cab45931a
commit
bb8def8b3e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user