summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-12-21 00:28:56 -0500
committerChris Buechler <cmb@pfsense.org>2009-12-21 00:28:56 -0500
commit90dc86b5a66cbd5915a73c5a334c57dad0fdb1f9 (patch)
tree9886c356faebe14ebec12522644062f5bfe153a1
parent29adf437918346b18d7cfa9203d4603ccf2e06e1 (diff)
downloadpfsense-90dc86b5a66cbd5915a73c5a334c57dad0fdb1f9.zip
pfsense-90dc86b5a66cbd5915a73c5a334c57dad0fdb1f9.tar.gz
allow unlimited gateways to have a blank monitor IP (i.e. monitor IP == gateway IP)
-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 5f169d1..170f071 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -118,7 +118,7 @@ if ($_POST) {
$input_errors[] = "The gateway IP address \"{$_POST['gateway']}\" already exists.";
break;
}
- if (($gateway['monitor'] <> "") && (in_array($_POST['monitor'], $gateway)) && ($gateway['attribute'] != "system")) {
+ if (($gateway['monitorip'] <> "") && (in_array($_POST['monitor'], $gateway)) && ($gateway['attribute'] != "system")) {
$input_errors[] = "The monitor IP address \"{$_POST['monitor']}\" is already in use. You must choose a different monitor IP.";
break;
}
OpenPOWER on IntegriCloud