Skip to content

Commit

Permalink
Merge pull request #20353 from benpicco/gnrc_icmpv6_echo-error
Browse files Browse the repository at this point in the history
sys/shell/ping: print error when DNS resolve fails
  • Loading branch information
maribu authored Feb 7, 2024
2 parents 4df5306 + bfdda46 commit d0948a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/shell/cmds/gnrc_icmpv6_echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d0948a7

Please sign in to comment.