control/controlclient, types/netmap: remove unused LocalPort field

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-06-19 16:31:54 -07:00
committed by Brad Fitzpatrick
parent 526b0b6890
commit a1e429f7c3
7 changed files with 19 additions and 43 deletions
+2 -2
View File
@@ -796,7 +796,7 @@ func (b *LocalBackend) setWgengineStatus(s *wgengine.Status, err error) {
if cc != nil {
if needUpdateEndpoints {
cc.UpdateEndpoints(0, s.LocalAddrs)
cc.UpdateEndpoints(s.LocalAddrs)
}
b.stateMachine()
}
@@ -1070,7 +1070,7 @@ func (b *LocalBackend) Start(opts ipn.Options) error {
b.mu.Unlock()
if endpoints != nil {
cc.UpdateEndpoints(0, endpoints)
cc.UpdateEndpoints(endpoints)
}
cc.SetStatusFunc(b.setClientStatus)