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:
parent
76935ddbf5
commit
976fab736f
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user