ipn: misc cleanup

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-02-25 07:36:32 -08:00
parent 04e6b77774
commit 367ffde21a
3 changed files with 38 additions and 26 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ func NewLocalBackend(logf logger.Logf, logid string, store StateStore, e wgengin
logf("skipping portlist: %s\n", err)
}
b := LocalBackend{
b := &LocalBackend{
logf: logf,
e: e,
store: store,
@@ -86,7 +86,7 @@ func NewLocalBackend(logf logger.Logf, logid string, store StateStore, e wgengin
go b.runPoller()
}
return &b, nil
return b, nil
}
func (b *LocalBackend) Shutdown() {