ipn: when enforcing defaults, set UsePacketFilter=true

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
pull/168/head
David Crawshaw 5 years ago committed by David Crawshaw
parent cac68fe102
commit 5f2a17482b

@ -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
}

Loading…
Cancel
Save