Contents of /trunk/busybox/patches/busybox-1.8.2-arping.patch
Parent Directory | Revision Log
Revision 448 -
(show annotations)
(download)
Tue Jan 22 22:52:35 2008 UTC (16 years, 8 months ago) by niro
File size: 481 byte(s)
Tue Jan 22 22:52:35 2008 UTC (16 years, 8 months ago) by niro
File size: 481 byte(s)
-patches for busybox-1.8.2-r1
1 | diff -urN busybox-1.8.2/networking/arping.c busybox-1.8.2-arping/networking/arping.c |
2 | --- busybox-1.8.2/networking/arping.c 2007-11-10 01:40:47.000000000 +0000 |
3 | +++ busybox-1.8.2-arping/networking/arping.c 2007-12-18 10:31:55.000000000 +0000 |
4 | @@ -207,7 +207,8 @@ |
5 | } |
6 | |
7 | if (last) { |
8 | - printf(" %u.%03ums\n", last / 1000, last % 1000); |
9 | + unsigned diff = MONOTONIC_US() - last; |
10 | + printf(" %u.%03ums\n", diff / 1000, diff % 1000); |
11 | } else { |
12 | printf(" UNSOLICITED?\n"); |
13 | } |