services: New hidden family

This commit is contained in:
nemunaire 2023-12-06 01:52:27 +01:00
parent 956fcd4a53
commit 457769044d
2 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,7 @@ import (
const (
Abstract = "abstract"
Hidden = "hidden"
Provider = "provider"
)

View File

@ -56,6 +56,10 @@
for (const idx in $servicesSpecs) {
const svc = $servicesSpecs[idx];
if (svc.family === "hidden") {
continue;
}
const reason = passRestrictions(svc, provider_specs, zservices, dn);
if (reason == null) {
ans.push(svc);