diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-12-21 00:28:56 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-12-21 00:28:56 -0500 |
commit | 90dc86b5a66cbd5915a73c5a334c57dad0fdb1f9 (patch) | |
tree | 9886c356faebe14ebec12522644062f5bfe153a1 /usr/local/www | |
parent | 29adf437918346b18d7cfa9203d4603ccf2e06e1 (diff) | |
download | pfsense-90dc86b5a66cbd5915a73c5a334c57dad0fdb1f9.zip pfsense-90dc86b5a66cbd5915a73c5a334c57dad0fdb1f9.tar.gz |
allow unlimited gateways to have a blank monitor IP (i.e. monitor IP == gateway IP)
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 2 |
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; } |