Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4db1de6 introduced regression for -A and -U, which behave like -c1 (.i.e. sending only single packet). Fixing it to compare also count (as it was done in 67e070d before the rewrite). Also, ctl->unsolicited does not change, therefore it's enough be checked only once (before while loop). Fixes: 4db1de6 ("arping: Fix 1s delay on exit for unsolicited arpings") Reported-by: David Bond <dbond@suse.com> Signed-off-by: Petr Vorel <pvorel@suse.cz>
- Loading branch information