]> git.ipfire.org Git - ipfire-3.x.git/blob - iputils/patches/iputils-s20071127-countermeasures.patch
5e6f4bcde34331fd3d4684788e011f6573464457
[ipfire-3.x.git] / iputils / patches / iputils-s20071127-countermeasures.patch
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);