ipn: when enforcing defaults, set UsePacketFilter=true

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
This commit is contained in:
David Crawshaw 2020-03-07 13:15:18 -05:00
parent cac68fe102
commit edc1bd6b90
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ func PrefsFromBytes(b []byte, enforceDefaults bool) (*Prefs, error) {
if enforceDefaults {
p.RouteAll = true
p.AllowSingleHosts = true
p.UsePacketFilter = true
}
return p, err
}