Description of problem: Selfexplanatory: gklab-59-001:~/rpmbuild/SOURCES> ping -i 0.3 localhost PING localhost.localdomain (127.0.0.1) 56(84) bytes of data. ping: cannot flood; minimal interval, allowed for user, is 200ms Version-Release number of selected component (if applicable): iputils-20070202-3.fc6.i386 How reproducible: Always for normal user, never for root (but I strongly suspect that interval in such a case is set to either 0 or 1000ms). Steps to Reproduce: See above Actual results: ping does not allow subsecond intervals for normal users Expected results: ping allows subsecond intervals longer then 200ms for normal users Additional info: iputils-20020927-18.EL4.3.i386 as distributed in CentOS 4.4 works OK.
The important thing I've just found out: locale. The problem exists in pl_PL.UTF-8 locale but not in C or en_US. I guess the decimal separator is the important part here. common_options hast something like that: case 'i': /* wait between sending packets */ { if (strchr(optarg, '.')) { float t; int r; while '.' above in strchr should probably be taken from locale settings.
*** Bug 239297 has been marked as a duplicate of this bug. ***
This issue should be fixed in RAWHIDE (iputils-20070202-4.fc8)