benjojo / sping

Split ping, see what direction the loss or latency is on
MIT License
308 stars 19 forks source link

IPv6 does not work? #9

Closed bortzmeyer closed 2 years ago

bortzmeyer commented 3 years ago

Without brackets:

% ./sping -peers 2001:41d0:302:2200::180
2021/03/24 12:59:48 Cannot (TCP) handshake to 2001:41d0:302:2200::180: dial tcp: address 2001:41d0:302:2200::180:6924: too many colons in address

With brackets:

% ./sping -peers \[2001:41d0:302:2200::180\]

No error message, this time, but no results either, under /metrics.

To the same peer, it works fine on IPv4.