diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-22 13:17:20 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-22 13:17:20 -0500 |
commit | 27d15a216fcc86cbeef4db4ced518438fc07378d (patch) | |
tree | c1d7fc59e4bb8ecd16d2d084511b8056bc402001 /src/usr/local/www/services_dhcp_edit.php | |
parent | 8899188029e023f00853eb5dc9ba238b01f8e4a6 (diff) | |
download | pfsense-27d15a216fcc86cbeef4db4ced518438fc07378d.zip pfsense-27d15a216fcc86cbeef4db4ced518438fc07378d.tar.gz |
Fixed typo in $POST/$_POST
Diffstat (limited to 'src/usr/local/www/services_dhcp_edit.php')
-rw-r--r-- | src/usr/local/www/services_dhcp_edit.php | 2 |
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 2ab0848..b95bcd2 100644 --- a/src/usr/local/www/services_dhcp_edit.php +++ b/src/usr/local/www/services_dhcp_edit.php @@ -234,7 +234,7 @@ if ($_POST['save']) { $input_errors[] = gettext("A valid IPv4 address must be specified for the primary/secondary WINS servers."); } - $parent_ip = get_interface_ip($POST['if']); + $parent_ip = get_interface_ip($_POST['if']); if (is_ipaddrv4($parent_ip) && $_POST['gateway']) { $parent_sn = get_interface_subnet($_POST['if']); if (!ip_in_subnet($_POST['gateway'], gen_subnet($parent_ip, $parent_sn) . "/" . $parent_sn) && !ip_in_interface_alias_subnet($_POST['if'], $_POST['gateway'])) { |