summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.8.2-arping.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-01-03 13:33:25 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-01-03 13:33:25 +0000
commite88a01bde327fff3ea620a0ffcd8d9d346fc6747 (patch)
treedf3a681835308cf6f107fa195f236724a2837b68 /package/busybox/busybox-1.8.2-arping.patch
parenta9e0ebe4b0a19bd0c2e4757a667cee6d1537bd9c (diff)
busybox: Bump version to 1.8.2
Diffstat (limited to 'package/busybox/busybox-1.8.2-arping.patch')
-rw-r--r--package/busybox/busybox-1.8.2-arping.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.8.2-arping.patch b/package/busybox/busybox-1.8.2-arping.patch
new file mode 100644
index 000000000..9e1d77e5b
--- /dev/null
+++ b/package/busybox/busybox-1.8.2-arping.patch
@@ -0,0 +1,13 @@
+diff -urN busybox-1.8.2/networking/arping.c busybox-1.8.2-arping/networking/arping.c
+--- busybox-1.8.2/networking/arping.c 2007-11-10 01:40:47.000000000 +0000
++++ busybox-1.8.2-arping/networking/arping.c 2007-12-18 10:31:55.000000000 +0000
+@@ -207,7 +207,8 @@
+ }
+
+ if (last) {
+- printf(" %u.%03ums\n", last / 1000, last % 1000);
++ unsigned diff = MONOTONIC_US() - last;
++ printf(" %u.%03ums\n", diff / 1000, diff % 1000);
+ } else {
+ printf(" UNSOLICITED?\n");
+ }