ipn: print the packet filter setting in prefs.

Signed-off-by: David Anderson <dave@natulte.net>
pull/66/head
David Anderson 5 years ago committed by Dave Anderson
parent 62fb652eef
commit a70a91521b

@ -43,9 +43,9 @@ func (uc *Prefs) Pretty() string {
} else { } else {
ucp = "Persist=nil" ucp = "Persist=nil"
} }
return fmt.Sprintf("Prefs{ra=%v mesh=%v dns=%v want=%v notepad=%v %v}", return fmt.Sprintf("Prefs{ra=%v mesh=%v dns=%v want=%v notepad=%v pf=%v %v}",
uc.RouteAll, uc.AllowSingleHosts, uc.CorpDNS, uc.WantRunning, uc.RouteAll, uc.AllowSingleHosts, uc.CorpDNS, uc.WantRunning,
uc.NotepadURLs, ucp) uc.NotepadURLs, uc.UsePacketFilter, ucp)
} }
func (uc *Prefs) ToBytes() []byte { func (uc *Prefs) ToBytes() []byte {

Loading…
Cancel
Save