ipn/ipnlocal: send peerapi port(s) in Hostinfo.Services

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-03-29 12:49:13 -07:00
parent 12ae2d73b3
commit 9659ab81e0
2 changed files with 34 additions and 10 deletions

View File

@@ -80,6 +80,7 @@ func (s *peerAPIServer) listen(ip netaddr.IP, ifState *interfaces.State) (ln net
type peerAPIListener struct {
ps *peerAPIServer
ip netaddr.IP
ln net.Listener
lb *LocalBackend
urlStr string