net-misc/iputils: Re-added accidentally removed patch
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 3 Apr 2019 17:30:21 +0000 (19:30 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 3 Apr 2019 17:30:37 +0000 (19:30 +0200)
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>
net-misc/iputils/files/iputils-20150815-nonroot-floodping.patch [new file with mode: 0644]

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 (file)
index 0000000..50e108b
--- /dev/null
@@ -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))