Comments (2)
so at the moment if you specify --show-ips
, you'll get <hostname> (<ip_addr>)
, hostname followed by ip address in parens. Which is consistent in all the reporters ... but only if it actually resolved a name, otherwise you'd get only <ip_addr>
, no hostname of course and ip address not in parens. Which I suppose is behaviourally consistent, but structurally not so much.
So I can see why it might be nice to use explicit fields in these structured formats, xml, json etc.
Is there further demand for this feature request? opposition?
from mtr.
I agree. Getting things apart is MUCH more difficult than putting things together. Consider addresses. When users enter a city, starte/province then it's easy to put them next to each other for printing as an address line. But the other way around is difficult. "Dallas texas" is easy to split but "new york new york"and "Salt lake city utah" are more difficult.
Anyway, valid concern that the IP address sometimes ends up differently (not in parentheses) , which hinders parsing. Jeah, just split them.
from mtr.
Related Issues (20)
- Optimise data processing for output of “OK”
- Delete questionable loop at the beginning of csv_close()
- Disable ASN lookup
- Why read pipe nothing in Go, but ok in Java?HELP!!! HOT 14
- Delete an unnecessary assignment statement from parse_arg() HOT 1
- Ring a "bell" in case of packet loss? HOT 5
- Incorrect behaviour when network connection is changed while mtr is run
- why the snt's num is different HOT 1
- Forced IPv6 and json output doesn't work HOT 5
- cygwin 3.4.6 failure starting overlapped thread pipe read (code 232) HOT 6
- Feature request: mapping mode HOT 28
- CygWin build broken pipe problem HOT 2
- Running 'mtr -r www.google.com -c 1' leads to segmentation fault HOT 2
- Issue for `mtr-packet` while building customized version of mtr
- mtr with unspecified destination HOT 2
- Windows 11 x64 installation HOT 4
- --psize option to randomize packet size
- on cygwin build error HOT 1
- Using the -f option changes the packet rate. HOT 1
- Next release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtr.