From 5db0a07d88bf410975deb3f303708618f4afb21b Mon Sep 17 00:00:00 2001 From: Claire Wang Date: Thu, 15 Feb 2024 14:05:30 -0500 Subject: [PATCH] tailcfg: add longitude, latitude to Location --- tailcfg/tailcfg.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 5a26697ff..f13657a47 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -687,7 +687,9 @@ type Location struct { // // A value of 0 means the exit node does not have a priority // preference. A negative int is not allowed. - Priority int `json:",omitempty"` + Priority int `json:",omitempty"` + Longitude float64 `json:",omitempty"` + Latitude float64 `json:",omitempty"` } // Hostinfo contains a summary of a Tailscale host.