diff --git a/sys/shell/commands/sc_gnrc_icmpv6_echo.c b/sys/shell/commands/sc_gnrc_icmpv6_echo.c index 7241f2635c..0c9e1c349f 100644 --- a/sys/shell/commands/sc_gnrc_icmpv6_echo.c +++ b/sys/shell/commands/sc_gnrc_icmpv6_echo.c @@ -178,6 +178,7 @@ static int _configure(int argc, char **argv, _ping_data_t *data) data->hostname = arg; #ifdef MODULE_SOCK_DNS if (sock_dns_query(data->hostname, &data->host, AF_INET6) == 0) { + res = 0; continue; } #endif