diff --git a/nshlib/nsh_netcmds.c b/nshlib/nsh_netcmds.c index 8f6422de7..f1ebe6625 100644 --- a/nshlib/nsh_netcmds.c +++ b/nshlib/nsh_netcmds.c @@ -1241,7 +1241,7 @@ int cmd_ping6(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) ntohs(ipaddr.s6_addr16[2]), ntohs(ipaddr.s6_addr16[3]), ntohs(ipaddr.s6_addr16[4]), ntohs(ipaddr.s6_addr16[5]), ntohs(ipaddr.s6_addr16[6]), ntohs(ipaddr.s6_addr16[7]), - count); + DEFAULT_PING_DATALEN); start = clock_systimer(); for (i = 1; i <= count; i++)