mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
dns: rename 'ports' to 'dns_ports' for clarity
This commit is contained in:
parent
3b94eef990
commit
695f43aa99
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ function bind_services()
|
|||
|
||||
$services[] = [
|
||||
/* the port may still be something other than 53, but it's safe to register a conflict for it */
|
||||
'ports' => ($localhost4 && $localhost6 ? [(string)$model->port] : []),
|
||||
'dns_ports' => ($localhost4 && $localhost6 ? [(string)$model->port] : []),
|
||||
'description' => gettext('BIND Daemon'),
|
||||
'configd' => [
|
||||
'restart' => ['bind restart'],
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ function dnscryptproxy_services()
|
|||
|
||||
$services[] = [
|
||||
/* the port may still be something other than 53, but it's safe to register a conflict for it */
|
||||
'ports' => array_keys(array_intersect_key($localhost4, $localhost6)),
|
||||
'dns_ports' => array_keys(array_intersect_key($localhost4, $localhost6)),
|
||||
'description' => gettext('DNSCrypt-Proxy'),
|
||||
'configd' => [
|
||||
'restart' => ['dnscryptproxy restart'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue