arping should return when there is nothing left to do
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Iputils |
Fix Released
|
Unknown
|
|||
iputils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using arping with a count and every probe has been answered promptly, arping waits until the next probe would be sent before printing the stats and returning. That is an unnecessary delay.
In the function recv_pack in arping.c, we have
290 if (quit_on_reply)
291 finish();
where it could be
290 if(quit_on_reply || count == 1 && received == sent)
291 finish();
ProblemType: Bug
Architecture: i386
Dependencies:
libgcc1 1:4.3.3-5ubuntu4
gcc-4.3-base 4.3.3-5ubuntu4
findutils 4.4.0-2ubuntu4
libc6 2.9-4ubuntu6.1
DistroRelease: Ubuntu 9.04
Package: iputils-arping 3:20071127-1
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: iputils
Uname: Linux 2.6.30-
Changed in iputils (Ubuntu): | |
status: | New → Fix Released |
Changed in iputils: | |
status: | Unknown → Fix Released |