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

sys/shell/ping: print error when DNS resolve fails

This commit is contained in:
Benjamin Valentin 2024-02-07 16:02:04 +01:00
parent 4df530663b
commit bfdda46055

View File

@ -183,7 +183,8 @@ static int _configure(int argc, char **argv, _ping_data_t *data)
res = netutils_get_ipv6(&data->host, (netif_t **)&data->netif, arg);
if (res) {
break;
printf("can't resolve %s\n", arg);
return res;
}
}
else {