mirror of
https://github.com/opnsense/core.git
synced 2026-05-28 04:34:51 -04:00
kea: style sweep
This commit is contained in:
parent
5b7c8e6a2f
commit
7d52ccfe73
1 changed files with 4 additions and 2 deletions
|
|
@ -147,11 +147,13 @@ class KeaDhcpv6 extends BaseModel
|
|||
if (!$subnet->option_data_autocollect->isEmpty()) {
|
||||
if (!$subnet->option_data->dns_servers->isEmpty()) {
|
||||
$messages->appendMessage(
|
||||
new Message(gettext('DNS servers must be empty when option data autocollect is enabled.'), $key . '.option_data.dns_servers'));
|
||||
new Message(gettext('DNS servers must be empty when option data autocollect is enabled.'), $key . '.option_data.dns_servers')
|
||||
);
|
||||
}
|
||||
if (!$subnet->option_data->domain_search->isEmpty()) {
|
||||
$messages->appendMessage(
|
||||
new Message(gettext('Domain search must be empty when option data autocollect is enabled.'), $key . '.option_data.domain_search'));
|
||||
new Message(gettext('Domain search must be empty when option data autocollect is enabled.'), $key . '.option_data.domain_search')
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue