summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-12 10:05:15 -0200
committerRenato Botelho <renato@netgate.com>2016-01-12 10:05:15 -0200
commitddf82c16f325b0060ba27226737ce8d3a7f0da44 (patch)
treeba24e7096a644e46ac7d680a1252f9cbbb0471f8 /src/usr/local/www/services_dhcp_edit.php
parent481315a275605874730ac1c6e71e4c1ad233d807 (diff)
downloadpfsense-ddf82c16f325b0060ba27226737ce8d3a7f0da44.zip
pfsense-ddf82c16f325b0060ba27226737ce8d3a7f0da44.tar.gz
Fix syntax errors introduced on recent merged pull requests
Diffstat (limited to 'src/usr/local/www/services_dhcp_edit.php')
-rw-r--r--src/usr/local/www/services_dhcp_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcp_edit.php b/src/usr/local/www/services_dhcp_edit.php
index 515245d..dfc11fb 100644
--- a/src/usr/local/www/services_dhcp_edit.php
+++ b/src/usr/local/www/services_dhcp_edit.php
@@ -238,7 +238,7 @@ if ($_POST) {
/* make sure it's not within the dynamic subnet */
if ($_POST['ipaddr']) {
- if (is_inrange_v4($_POST['ipaddr']), $config['dhcpd'][$if]['range']['from'], $config['dhcpd'][$if]['range']['to'])) {
+ if (is_inrange_v4($_POST['ipaddr'], $config['dhcpd'][$if]['range']['from'], $config['dhcpd'][$if]['range']['to'])) {
$input_errors[] = sprintf(gettext("The IP address must not be within the DHCP range for this interface."));
}
OpenPOWER on IntegriCloud