diff options
author | ru <ru@FreeBSD.org> | 2002-01-15 15:10:52 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-01-15 15:10:52 +0000 |
commit | c12a24b71bea2f4515d1caddc5bd1f00d4c0cb7d (patch) | |
tree | ff9565886d68978eae8f849f8dbca3985af3259d /sbin/ping6 | |
parent | 5768c2f3d47f6c7b644d1bb5c7b92ee00626e3db (diff) | |
download | FreeBSD-src-c12a24b71bea2f4515d1caddc5bd1f00d4c0cb7d.zip FreeBSD-src-c12a24b71bea2f4515d1caddc5bd1f00d4c0cb7d.tar.gz |
First ping after a preload (-l) was sent undelayed.
PR: bin/32354
Obtained from: ping.c,v 1.61
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); |