mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make hostname optional for for DNS-O-Matic.
This resolves ticket #7601.
(cherry picked from commit 1ccc327f00)
This commit is contained in:
parent
ab5ef410bd
commit
fcb61f946f
@ -84,8 +84,10 @@ if ($_POST['save'] || $_POST['force']) {
|
||||
$reqdfieldsn = array(gettext("Service type"));
|
||||
|
||||
if ($pconfig['type'] != "custom" && $pconfig['type'] != "custom-v6") {
|
||||
$reqdfields[] = "host";
|
||||
$reqdfieldsn[] = gettext("Hostname");
|
||||
if ($pconfig['type'] != "dnsomatic") {
|
||||
$reqdfields[] = "host";
|
||||
$reqdfieldsn[] = gettext("Hostname");
|
||||
}
|
||||
$reqdfields[] = "passwordfld";
|
||||
$reqdfieldsn[] = gettext("Password");
|
||||
$reqdfields[] = "username";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user