]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - iputils/patches/iputils-s20071127-countermeasures.patch
Move all packages to root.
[people/pmueller/ipfire-3.x.git] / iputils / patches / iputils-s20071127-countermeasures.patch
CommitLineData
df92424c
MT
1--- iputils/ping_common.c.countermeasures Tue May 21 10:06:05 2002
2+++ iputils/ping_common.c Tue May 21 10:12:42 2002
3@@ -628,7 +628,8 @@
4 tvsub(tv, &tmp_tv);
5 triptime = tv->tv_sec * 1000000 + tv->tv_usec;
6 if (triptime < 0) {
7- fprintf(stderr, "Warning: time of day goes back (%ldus), taking countermeasures.\n", triptime);
8+ if (options & F_VERBOSE)
9+ fprintf(stderr, "Warning: time of day goes back (%ldus), taking countermeasures.\n", triptime);
10 triptime = 0;
11 if (!(options & F_LATENCY)) {
12 gettimeofday(tv, NULL);