summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-09-24 13:55:28 +0545
committerPhil Davis <phil.davis@inf.org>2015-09-24 13:55:28 +0545
commit3b71258a49c1ae3938e21b96f85fb90caefc8836 (patch)
treebf3891e2aeca3881c863697195da38f0cc87b669 /src/usr/local/www/services_dhcp_edit.php
parentb5f6e690d40d0e0b7e16fd4adddb92d04c402ad6 (diff)
downloadpfsense-3b71258a49c1ae3938e21b96f85fb90caefc8836.zip
pfsense-3b71258a49c1ae3938e21b96f85fb90caefc8836.tar.gz
service_dhcp_edit.php fixes from code inspection
To save you some time in testing and fixing, here are the bugs I noticed by code inspection.
Diffstat (limited to 'src/usr/local/www/services_dhcp_edit.php')
-rw-r--r--src/usr/local/www/services_dhcp_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/services_dhcp_edit.php b/src/usr/local/www/services_dhcp_edit.php
index fee521f..1967bef 100644
--- a/src/usr/local/www/services_dhcp_edit.php
+++ b/src/usr/local/www/services_dhcp_edit.php
@@ -476,10 +476,10 @@ $group->add(new Form_Input(
));
$group->add(new Form_Input(
- 'win2',
+ 'wins2',
null,
'text',
- $pconfig['win2'],
+ $pconfig['wins2'],
['placeholder' => 'WINS 2']
));
@@ -518,7 +518,7 @@ $group->add(new Form_Input(
['placeholder' => 'DNS 4']
));
-$group->setHelp('NOTE: leave blank to use the system default DNS servers - this interface\'s IP if DNS forwarder is enabled, otherwise the servers configured on the General page.');
+$group->setHelp('Note: leave blank to use the system default DNS servers - this interface\'s IP if DNS Forwarder or Resolver is enabled, otherwise the servers configured on the General page.');
$section->add($group);
@@ -627,7 +627,7 @@ $group->add(new Form_Input(
$group->add(new Form_Input(
'ntp2',
- 'NTP Server 1',
+ 'NTP Server 2',
'text',
$pconfig['ntp2'],
['placeholder' => 'NTP 2']
OpenPOWER on IntegriCloud