1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

tests/lwip: replace sock_tcp_str2ep() with sock_tcp_name2ep()

This commit is contained in:
Benjamin Valentin 2022-03-24 17:06:18 +01:00
parent 76935ddbf5
commit 976fab736f

View File

@ -131,7 +131,7 @@ static int tcp_connect(char *addr_str, char *local_port_str)
}
/* parse destination address */
if (sock_tcp_str2ep(&dst, addr_str) < 0) {
if (sock_tcp_name2ep(&dst, addr_str) < 0) {
puts("Error: unable to parse destination address");
return 1;
}