mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-09-29 13:51:51 +02:00
internal/router: report error if DNS shield is enabled in UniFi OS
This commit is contained in:
1 parent
251255c746
commit
28984090e5
2 files changed
+23
No files matched your search
@@ -36,6 +36,10 @@ func (u *Ubios) Install(config *service.Config) error {
|
||||
if edgeos.ContentFilteringEnabled() {
|
||||
return edgeos.ErrContentFilteringEnabled
|
||||
}
|
||||
// See comment in (*edgeos.EdgeOS).Install method.
|
||||
if edgeos.DnsShieldEnabled() {
|
||||
return edgeos.ErrDnsShieldEnabled
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user