1 |
commit: 14e90019515222d46c5cced6795ed993cfafcb0d |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 3 17:30:21 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 3 17:30:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e90019 |
7 |
|
8 |
net-misc/iputils: Re-added accidentally removed patch |
9 |
|
10 |
Closes: https://bugs.gentoo.org/682426 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
.../iputils/files/iputils-20150815-nonroot-floodping.patch | 11 +++++++++++ |
15 |
1 file changed, 11 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch b/net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..50e108b09e8 |
20 |
--- /dev/null |
21 |
+++ b/net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch |
22 |
@@ -0,0 +1,11 @@ |
23 |
+--- iputils-s20150815/ping.h |
24 |
++++ iputils-s20150815/ping.h |
25 |
+@@ -61,7 +61,7 @@ |
26 |
+ |
27 |
+ #define MAXWAIT 10 /* max seconds to wait for response */ |
28 |
+ #define MININTERVAL 10 /* Minimal interpacket gap */ |
29 |
+-#define MINUSERINTERVAL 200 /* Minimal allowed interval for non-root */ |
30 |
++#define MINUSERINTERVAL 0 /* Minimal allowed interval for non-root */ |
31 |
+ |
32 |
+ #define SCHINT(a) (((a) <= MININTERVAL) ? MININTERVAL : (a)) |
33 |
+ |