mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 00:29:43 +08:00
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:
parent
efb82b8d6e
commit
54a4e3ce83
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user