Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bogus error with too many CLI arguments #519

Open
salfers opened this issue Nov 7, 2024 · 2 comments
Open

Bogus error with too many CLI arguments #519

salfers opened this issue Nov 7, 2024 · 2 comments

Comments

@salfers
Copy link

salfers commented Nov 7, 2024

Run: mtr -r 1 2001:db8::babe

(of course I merely forgot the -c here)

Expected behavior

mtr reports an error that I need to give it exactly one hostname.

Actual behavior

it tries to ping 0.0.0.1 for a while and prints:

Start: 2024-11-07T12:12:25+0100
HOST: localhost                 Loss%   Snt   Last   Avg  Best  Wrst StDev
mtr: Failed to resolve host: 2001:db8::babe: Address family for hostname not supported
@yvs2014
Copy link

yvs2014 commented Nov 16, 2024

that I need to give it exactly one hostname

you can give more than one but the same IP family only (either inet4 or inet6), at least in current implementation
test out with mtr -r 0 1 1.1.1.1 8.8.8.8 or mtr -r ::1 ::1

@salfers
Copy link
Author

salfers commented Nov 18, 2024

I see. However that seems to be undocumented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants