summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff')
-rw-r--r--meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff b/meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff
deleted file mode 100644
index 3e34788a5a..0000000000
--- a/meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff
+++ /dev/null
@@ -1,26 +0,0 @@
1Upstream-Status: Pending [from other distro Debian]
2
3Index: trunk/arping.c
4===================================================================
5--- trunk.orig/arping.c 2010-05-07 23:13:52.000000000 -0700
6+++ trunk/arping.c 2010-05-07 23:41:16.000000000 -0700
7@@ -182,12 +182,17 @@
8 if (start.tv_sec==0)
9 start = tv;
10
11- if (count-- == 0 || (timeout && MS_TDIFF(tv,start) > timeout*1000 + 500))
12+ if (timeout && MS_TDIFF(tv,start) > timeout*1000 + 500)
13 finish();
14
15- if (last.tv_sec==0 || MS_TDIFF(tv,last) > 500) {
16+ if ((!timeout) && (count == 0))
17+ finish();
18+
19+ if ( count!=0 && (last.tv_sec==0 || MS_TDIFF(tv,last) > 500 ) ) {
20 send_pack(s, src, dst,
21 (struct sockaddr_ll *)&me, (struct sockaddr_ll *)&he);
22+ if (count >= 0)
23+ count--;
24 if (count == 0 && unsolicited)
25 finish();
26 }