Make hostname dns safe, allow string in ping command
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
ecce82d44a
commit
d242ceac46
3 changed files with 7 additions and 7 deletions
|
@ -58,7 +58,7 @@ func TestPingAll(t *testing.T) {
|
|||
|
||||
for _, client := range allClients {
|
||||
for _, ip := range allIps {
|
||||
err := client.Ping(ip)
|
||||
err := client.Ping(ip.String())
|
||||
if err != nil {
|
||||
t.Errorf("failed to ping %s from %s: %s", ip, client.Hostname(), err)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue