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:
parent
4df530663b
commit
bfdda46055
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user