Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 295901 Details for
Bug 360881
Inconsistant behavior with ping, timeouts, and local/remote IP segments
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for ping
iputils-20071127-output.patch (text/plain), 1.06 KB, created by
Martin Nagy
on 2008-02-26 13:28:23 UTC
(
hide
)
Description:
Patch for ping
Filename:
MIME Type:
Creator:
Martin Nagy
Created:
2008-02-26 13:28:23 UTC
Size:
1.06 KB
patch
obsolete
>diff -up iputils-s20071127/ping_common.c.output iputils-s20071127/ping_common.c >--- iputils-s20071127/ping_common.c.output 2008-02-26 14:12:02.000000000 +0100 >+++ iputils-s20071127/ping_common.c 2008-02-26 14:24:34.000000000 +0100 >@@ -791,8 +791,10 @@ static long llsqrt(long long a) > */ > void finish(void) > { >- struct timeval tv = cur_time; >+ struct timeval tv; >+ char *comma = ""; > >+ gettimeofday(&tv, NULL); > tvsub(&tv, &start_time); > > putchar('\n'); >@@ -827,12 +829,15 @@ void finish(void) > (long)tmax/1000, (long)tmax%1000, > (long)tmdev/1000, (long)tmdev%1000 > ); >+ comma = ", "; >+ } >+ if (pipesize > 1) { >+ printf("%spipe %d", comma, pipesize); >+ comma = ", "; > } >- if (pipesize > 1) >- printf(", pipe %d", pipesize); > if (ntransmitted > 1 && nreceived && (!interval || (options&(F_FLOOD|F_ADAPTIVE)))) { > int ipg = (1000000*(long long)tv.tv_sec+tv.tv_usec)/(ntransmitted-1); >- printf(", ipg/ewma %d.%03d/%d.%03d ms", >+ printf("%sipg/ewma %d.%03d/%d.%03d ms", comma, > ipg/1000, ipg%1000, rtt/8000, (rtt/8)%1000); > } > putchar('\n');
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 360881
: 295901