ipn: don't clobber netinfo in Start().

This commit is contained in:
David Anderson 2020-03-12 21:38:34 -07:00
parent 8b8e3f08a0
commit aeb88864e0

View File

@ -139,7 +139,8 @@ func (b *LocalBackend) Start(opts Options) error {
} }
if b.hiCache != nil { if b.hiCache != nil {
hi.Services = b.hiCache.Services // keep any previous session hi.Services = b.hiCache.Services // keep any previous session and netinfo
hi.NetInfo = b.hiCache.NetInfo
} }
b.hiCache = hi b.hiCache = hi
b.state = NoState b.state = NoState