FreeBSD Bugzilla – Attachment 109946 Details for
Bug 151023
[patch] ping6(8) exits before all ICMPv6 echo replies are received
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 982 bytes, created by
Tianjie Mao
on 2010-09-28 10:00:23 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Tianjie Mao
Created:
2010-09-28 10:00:23 UTC
Size:
982 bytes
patch
obsolete
>diff -uNr ping6.c.orig ping6.c >--- ping6.c.orig 2010-06-16 23:49:17.000000000 +0800 >+++ ping6.c 2010-09-28 15:41:22.000000000 +0800 >@@ -1091,8 +1091,14 @@ > /* signal handling */ > if (seenalrm) { > /* last packet sent, timeout reached? */ >- if (npackets && ntransmitted >= npackets) >- break; >+ if (npackets && ntransmitted >= npackets) { >+ struct timeval zerotime = {0, 0}; >+ itimer.it_value = zerotime; >+ itimer.it_interval = zerotime; >+ (void)setitimer(ITIMER_REAL, &itimer, NULL); >+ seenalrm = 0; /* clear flag */ >+ continue; >+ } > retransmit(); > seenalrm = 0; > continue;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 151023
: 109946 |
147528