MCPcopy Create free account
hub / github.com/celzero/firestack / dnsConfigToFilters

Function dnsConfigToFilters

intra/ipn/rpn/yegor.go:824–838  ·  view source on GitHub ↗

dnsConfigToFilters converts a csv of DNS preset names (e.g. "family,privacy") into a set of filter IDs that should be enabled. "none" and "default" disable all filters; absent presets leave the set unchanged.

(dnsConfig string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

syncDNSFiltersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected