Open thetechcatalyst opened 2 years ago
It actually looks to be the same situation for XML output as well.
As of mtr 0.94 and 0.95, my tests do not confirm your findings for --json
except when mtr
was built using --without-ipinfo
, the code is actually in ui/report.c:346-356.
However, for --xml
, the situation is different: There is no such code when looking to ui/mtr.c:67-85 and ui/report.c:403-461.
When using the Autonomous System (AS) number lookup option (-z) with JSON output the AS information is not listed... To be fair I won't rule out user error however I have not found the option documented another way...
mtr -z --json google.com
Does not list AS in the output: