iputils-20071127-nonroot-floodping.patch 497 B

123456789101112
  1. --- iputils-s20071127/ping_common.h.orig 2008-06-10 11:16:06.000000000 +0100
  2. +++ iputils-s20071127/ping_common.h 2008-06-10 11:16:18.000000000 +0100
  3. @@ -28,7 +28,7 @@
  4. #define MAXWAIT 10 /* max seconds to wait for response */
  5. #define MININTERVAL 10 /* Minimal interpacket gap */
  6. -#define MINUSERINTERVAL 200 /* Minimal allowed interval for non-root */
  7. +#define MINUSERINTERVAL 0 /* Minimal allowed interval for non-root */
  8. #define SCHINT(a) (((a) <= MININTERVAL) ? MININTERVAL : (a))