diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-21 08:50:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-21 08:50:06 +0000 |
commit | 9924ce1cdcb6e4ab9635d6370ff7db6219c56094 (patch) | |
tree | 519c1bd5ff03997c9b11ceb7972da7467e44ea48 /networking/arping.c | |
parent | 80297d5f0cbe8a3de497804dcbb1a89e6f9c1562 (diff) | |
download | busybox-w32-1_8_3.tar.gz busybox-w32-1_8_3.tar.bz2 busybox-w32-1_8_3.zip |
apply four post-1.8.2 patches; bump to 1.8.31_8_3
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/arping.c b/networking/arping.c index 44615d5b1..a8ee9bf39 100644 --- a/networking/arping.c +++ b/networking/arping.c | |||
@@ -207,7 +207,8 @@ static int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM) | |||
207 | } | 207 | } |
208 | 208 | ||
209 | if (last) { | 209 | if (last) { |
210 | printf(" %u.%03ums\n", last / 1000, last % 1000); | 210 | unsigned diff = MONOTONIC_US() - last; |
211 | printf(" %u.%03ums\n", diff / 1000, diff % 1000); | ||
211 | } else { | 212 | } else { |
212 | printf(" UNSOLICITED?\n"); | 213 | printf(" UNSOLICITED?\n"); |
213 | } | 214 | } |