diff options
Diffstat (limited to 'sbin/ping6')
-rw-r--r-- | sbin/ping6/ping6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index 80261a6..4d28c4b 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -985,7 +985,8 @@ main(argc, argv) itimer.it_interval = interval; itimer.it_value = interval; (void)setitimer(ITIMER_REAL, &itimer, NULL); - retransmit(); + if (ntransmitted == 0) + retransmit(); } fdmasks = howmany(s + 1, NFDBITS) * sizeof(fd_mask); |