Description of problem: arping -c <N> stops after N/2 packets when N is even (behaves as expected when N is odd) arping -c <N> -w <M> does not stop after N responses when N is odd, when N is even it stopns after N/2 responses How reproducible: consistent Steps to Reproduce: arping -c 5 -I <intf> <ipaddr> causes 5 arp requests to be sent and prints a summary (baseline - expected) arping -c 6 -I <intf> <ipaddr> causes only 3 arp requests to be sent, no summary is printed arping -c 6 -w 10 <intf > <ipaddr> exits after 3 arp responses, same as without -w (I would expect 6 responses) arping -c 5 -w 10 <intf> <ipaddr> continues for 11 responses (10 seconds) - I would expect 5 responses Version-Release number of selected component (if applicable): iputils-sss20071127 Actual results: see above Expected results: see above Additional info:
Thanks for reporting. I have the same observation on F-13. Counting is really strength but I'd like to point out that the last example works fine. See man page -w option. Usage of this option disables -c.
iputils-20071127-13.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/iputils-20071127-13.fc13
iputils-20071127-13.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/iputils-20071127-13.fc12
I'd like to correct comment #1. The option -w should finish when -c responses is received if it's reached befero timeout. Sorry for confusing.
iputils-20071127-13.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update iputils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/iputils-20071127-13.fc13
iputils-20071127-13.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
iputils-20071127-13.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.