You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now our machine gets kicked out out wifi AP or network is restarted. mtr will, in such case (kicked out of AP; so for some short time it has no ip address assigned), exit with "Address not available" error.
But IMO if it mtr was started and was working for some time and only then "Address not available" happened then it shouldn't stop but instead just report failed packets.
I don't think it's great that errors like that completely kill the process, but I don't think ignoring them would be good either.
When running mtr in an interactive mode, it would be better to report the error as part of the user interface, and when in non-interactive mode including them in the generated report.
Of course, this is a non-trivial change to things.
Scenario:
mtr some-address
now our machine gets kicked out out wifi AP or network is restarted. mtr will, in such case (kicked out of AP; so for some short time it has no ip address assigned), exit with "Address not available" error.
But IMO if it mtr was started and was working for some time and only then "Address not available" happened then it shouldn't stop but instead just report failed packets.
Failure was introduced by @matt-kimball in commit 4149c2c
Maybe just revert that part:
or add some if (only if this error comes up for first packet) then fail?
The text was updated successfully, but these errors were encountered: