feat: new output formats Dnsmasq nfset and ipset, ClashX, Keenetic KVAS

This commit is contained in:
Rekryt
2024-09-04 16:42:20 +03:00
parent 1fdc844f45
commit ef457a1fda
9 changed files with 130 additions and 12 deletions

View File

@@ -60,6 +60,10 @@ class IPListService {
* @return void
*/
private function loadConfig(string $name, object $config): void {
if (isset($this->sites[$name])) {
$this->logger->error(sprintf('Site "%s" already exists', $name));
return;
}
$this->sites[$name] = SiteFactory::create($name, $config);
}
}