mirror of
https://github.com/tailscale/tailscale.git
synced 2025-05-06 15:46:53 +00:00
ipn: print the packet filter setting in prefs.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
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…
x
Reference in New Issue
Block a user