ipn: outdent some code in if that's statically always true

pull/283/head
Brad Fitzpatrick 4 years ago
parent 5b95aa81ea
commit b24029717b

@ -676,7 +676,6 @@ func (b *LocalBackend) authReconfig() {
}
b.logf("reconfig: ra=%v dns=%v 0x%02x\n", uc.RouteAll, uc.CorpDNS, uflags)
if nm != nil {
dns := nm.DNS
dom := nm.DNSDomains
if !uc.CorpDNS {
@ -693,7 +692,6 @@ func (b *LocalBackend) authReconfig() {
b.logf("reconfig: %v", err)
}
}
}
func (b *LocalBackend) enterState(newState State) {
b.mu.Lock()

Loading…
Cancel
Save