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

Show source address when use -r #486

Open
nickyang777 opened this issue Sep 22, 2023 · 1 comment
Open

Show source address when use -r #486

nickyang777 opened this issue Sep 22, 2023 · 1 comment

Comments

@nickyang777
Copy link

nickyang777 commented Sep 22, 2023

When no route to host, it is found that when the --report parameter is used, the one-hop source address will be reported, while the curses mode will report (no route to host)
I think there is a problem with --report mode.
I found that (aba24a7) does not handle --report mode.

report mode:
[root@mtr ~]# mtr -r -a 99.99.23.6 dst.ip
Start: 2023-09-22T19:32:34+0800
HOST: mtr Loss% Snt Last Avg Best Wrst StDev
1.|-- 99.99.23.6 10.0% 10 1815. 1896. 646.6 3054. 857.2

curses mode:
[root@mtr ~]# mtr -a 99.99.23.6 dst.ip
My traceroute [v0.95]
mtr (99.99.23.6) -> dst.ip (dst.ip) 2023-09-22T19:32:34+0800
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev

  1. (no route to host)
@eaglegai
Copy link

eaglegai commented Oct 9, 2023

other modes like --report/-report-wide/--csv need follow up aba24a7.
I will try to fix it.

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