Make hostname dns safe, allow string in ping command

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby committed 2022-10-23 11:50:01 +02:00
1 parent ecce82d44a
commit d242ceac46
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -14,5 +14,5 @@ type TailscaleClient interface {
IPs() ([]netip.Addr, error)
Status() (*ipnstate.Status, error)
WaitForPeers(expected int) error
Ping(ip netip.Addr) error
Ping(hostnameOrIP string) error
}