mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31:39 +00:00
ipn: outdent some code in if that's statically always true
This commit is contained in:
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)
|
b.logf("reconfig: ra=%v dns=%v 0x%02x\n", uc.RouteAll, uc.CorpDNS, uflags)
|
||||||
|
|
||||||
if nm != nil {
|
|
||||||
dns := nm.DNS
|
dns := nm.DNS
|
||||||
dom := nm.DNSDomains
|
dom := nm.DNSDomains
|
||||||
if !uc.CorpDNS {
|
if !uc.CorpDNS {
|
||||||
@ -692,7 +691,6 @@ func (b *LocalBackend) authReconfig() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
b.logf("reconfig: %v", err)
|
b.logf("reconfig: %v", err)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *LocalBackend) enterState(newState State) {
|
func (b *LocalBackend) enterState(newState State) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user