diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-24 10:53:00 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-24 10:57:35 +0200 |
commit | 54a4e3ce8327c795635855e58c86caf096c364ff (patch) | |
tree | df7ecea1e7f787842a508f95063e432903edc8c1 | |
parent | IFCONFIG(8): Default to AF_INET for RTEMS (diff) | |
download | rtems-libbsd-54a4e3ce8327c795635855e58c86caf096c364ff.tar.bz2 |
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.
-rw-r--r-- | freebsd/sbin/ping/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sbin/ping/ping.c b/freebsd/sbin/ping/ping.c index f64245cf..7f0a2297 100644 --- a/freebsd/sbin/ping/ping.c +++ b/freebsd/sbin/ping/ping.c @@ -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; |