summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound_host_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/services_unbound_host_edit.php')
-rw-r--r--src/usr/local/www/services_unbound_host_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_unbound_host_edit.php b/src/usr/local/www/services_unbound_host_edit.php
index ed3bbb2..42ce9ae 100644
--- a/src/usr/local/www/services_unbound_host_edit.php
+++ b/src/usr/local/www/services_unbound_host_edit.php
@@ -209,7 +209,7 @@ $pgtitle = array(gettext("Services"),gettext("DNS Resolver"),gettext("Edit host"
$shortcut_section = "resolver";
include("head.inc");
-require('classes/Form.class.php');
+require_once('classes/Form.class.php');
$form = new Form();
@@ -219,7 +219,7 @@ $section->addInput(new Form_Input(
'host',
'Host',
'text',
- $pconfig['domain']
+ $pconfig['host']
))->setHelp('Name of the host, without the domain part' . '<br />' .
'e.g.: "myhost"');
OpenPOWER on IntegriCloud