summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-03-11 21:39:39 +0100
committerSeth Mos <seth.mos@xs4all.nl>2009-03-11 21:39:39 +0100
commit8b060357e806292c10e79ff7d7f01e6722c29975 (patch)
tree92136137d508f9131dd09133e155166bcaaf8b41 /usr/local/www/system_gateways_edit.php
parent31ace93c7e6dcb7d3f388982c71ecb854f52f7ed (diff)
downloadpfsense-8b060357e806292c10e79ff7d7f01e6722c29975.zip
pfsense-8b060357e806292c10e79ff7d7f01e6722c29975.tar.gz
Add input validation on the gateway groups page as well, fix the check on the gateways page.
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index 1e427cf..9863be0 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -94,7 +94,7 @@ if ($_POST) {
$input_errors[] = "A valid monitor IP address must be specified.";
}
- if (! isset($_POST['name'])) {
+ if (isset($_POST['name'])) {
/* check for overlaps */
foreach ($a_gateways as $gateway) {
if (isset($id) && ($a_gateways[$id]) && ($a_gateways[$id] === $gateway))
OpenPOWER on IntegriCloud