summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/services_dhcp_edit.php2
-rw-r--r--src/usr/local/www/status_captiveportal.php2
-rw-r--r--src/usr/local/www/vpn_ipsec_settings.php2
3 files changed, 3 insertions, 3 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'])) {
diff --git a/src/usr/local/www/status_captiveportal.php b/src/usr/local/www/status_captiveportal.php
index cc16819..597656f 100644
--- a/src/usr/local/www/status_captiveportal.php
+++ b/src/usr/local/www/status_captiveportal.php
@@ -118,7 +118,7 @@ if ($_POST['act'] == "del" && !empty($cpzone) && isset($cpzoneid) && isset($_POS
exit;
}
-if ($POST['deleteall'] && !empty($cpzone) && isset($cpzoneid)) {
+if ($_POST['deleteall'] && !empty($cpzone) && isset($cpzoneid)) {
captiveportal_disconnect_all();
header("Location: status_captiveportal.php?zone={$cpzone}");
exit;
diff --git a/src/usr/local/www/vpn_ipsec_settings.php b/src/usr/local/www/vpn_ipsec_settings.php
index c1629f9..199fc6a 100644
--- a/src/usr/local/www/vpn_ipsec_settings.php
+++ b/src/usr/local/www/vpn_ipsec_settings.php
@@ -172,7 +172,7 @@ if ($_POST['save']) {
vpn_ipsec_configure($needsrestart);
}
- // The logic value sent by $POST for autoexcludelanaddress is opposite to
+ // The logic value sent by $_POST for autoexcludelanaddress is opposite to
// the way it is stored in the config as noshuntlaninterfaces.
// Reset the $pconfig value so it reflects the opposite of what was $POSTed.
// This helps a redrawn UI page after Save to correctly display the most recently entered setting.
OpenPOWER on IntegriCloud