Noah Meyerhans writes ("Re: Bug#456191: ping -w -c counts error responses
towards exiting"):
> Hi Ian. I'm having a tough time responding to this bug because I keep
> changing my mind about what the response should be. On one hand, ping
> is behaving as documented. From the description of -w from the man
> page, ping "waits either for deadline expire or until count probes are
> answered or for some error notification from network." But then again,
> as you suggest, maybe Host Unreachables generated by the local host
> should not be counted. I'm going to experiment with some changes to the
> code and see how I like different behaviors.
Right.
Personally I think the documentation should be changed as well as the
code. There are many systems which want to ping a host which they
expect to be responding shortly, and in many of those cases one or
more kinds of error might be reported while the host comes up.
So I would delete the words `... or for some error notification from
the network' and change the code accordingly.
If you don't want to change the behaviour of an existing option then
please consider this a request for a new option with the more
desirable behaviour :-).
Thanks,
Ian.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]