PING(8): Default to three packets

In the standard RTEMS shell it is not possible to use CTRL-C, to stop
the program.  So use a default with finite run-time.
This commit is contained in:
Sebastian Huber 2014-09-24 10:53:00 +02:00
parent efb82b8d6e
commit 54a4e3ce83

View File

@ -238,7 +238,7 @@ int rtems_bsd_command_ping(int argc, char *argv[])
icmp_type_rsp = ICMP_ECHOREPLY;
phdr_len = 0;
nmissedmax = 0;
npackets = 0;
npackets = 3;
nreceived = 0;
nrepeats = 0;
ntransmitted = 0;