benjojo / sping

Split ping, see what direction the loss or latency is on

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPv6 does not work?

bortzmeyer opened this issue · comments

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.