From b23cb11eaf637a41421031cf4ae984d9c42813ea Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Fri, 13 Mar 2020 00:43:19 -0400 Subject: [PATCH] ipn: Prefs.String(): print the current derp setting. --- ipn/prefs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipn/prefs.go b/ipn/prefs.go index 9d6bc170a..015a8c202 100644 --- a/ipn/prefs.go +++ b/ipn/prefs.go @@ -74,9 +74,9 @@ func (p *Prefs) Pretty() string { } else { pp = "Persist=nil" } - return fmt.Sprintf("Prefs{ra=%v mesh=%v dns=%v want=%v notepad=%v pf=%v routes=%v %v}", + return fmt.Sprintf("Prefs{ra=%v mesh=%v dns=%v want=%v notepad=%v derp=%v pf=%v routes=%v %v}", p.RouteAll, p.AllowSingleHosts, p.CorpDNS, p.WantRunning, - p.NotepadURLs, p.UsePacketFilter, p.AdvertiseRoutes, pp) + p.NotepadURLs, !p.DisableDERP, p.UsePacketFilter, p.AdvertiseRoutes, pp) } func (p *Prefs) ToBytes() []byte {