summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-04-03 19:30:21 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-04-03 19:30:37 +0200
commit14e90019515222d46c5cced6795ed993cfafcb0d (patch)
treeb652b0d93f7afa399f8b9b830f618bee9ad530a7 /net-misc/iputils
parentdev-util/ninka: Add test dependencies, remove restriction. (diff)
downloadgentoo-14e90019515222d46c5cced6795ed993cfafcb0d.tar.gz
gentoo-14e90019515222d46c5cced6795ed993cfafcb0d.tar.bz2
gentoo-14e90019515222d46c5cced6795ed993cfafcb0d.zip
net-misc/iputils: Re-added accidentally removed patch
Closes: https://bugs.gentoo.org/682426 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc/iputils')
-rw-r--r--net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch b/net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch
new file mode 100644
index 000000000000..50e108b09e85
--- /dev/null
+++ b/net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch
@@ -0,0 +1,11 @@
+--- iputils-s20150815/ping.h
++++ iputils-s20150815/ping.h
+@@ -61,7 +61,7 @@
+
+ #define MAXWAIT 10 /* max seconds to wait for response */
+ #define MININTERVAL 10 /* Minimal interpacket gap */
+-#define MINUSERINTERVAL 200 /* Minimal allowed interval for non-root */
++#define MINUSERINTERVAL 0 /* Minimal allowed interval for non-root */
+
+ #define SCHINT(a) (((a) <= MININTERVAL) ? MININTERVAL : (a))
+