summaryrefslogtreecommitdiffstats
path: root/freebsd/sbin/ping/ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sbin/ping/ping.c')
-rw-r--r--freebsd/sbin/ping/ping.c2
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;