diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-08 00:26:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-08 00:26:50 +0000 |
commit | 99719f570a03b14a1141aea4923e98bb21b26b8d (patch) | |
tree | ba53bda5f997729db9c78219369a7501d766c5a9 /usr | |
parent | affd363b1d3afa22353ebc690f59e83bdf17b05f (diff) | |
download | pfsense-99719f570a03b14a1141aea4923e98bb21b26b8d.zip pfsense-99719f570a03b14a1141aea4923e98bb21b26b8d.tar.gz |
Retrofit protocol box
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/load_balancer_pool_edit.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php index c787177..a02970c 100755 --- a/usr/local/www/load_balancer_pool_edit.php +++ b/usr/local/www/load_balancer_pool_edit.php @@ -93,8 +93,11 @@ if ($_POST) { } } } - if ($_POST['monitor'] != "TCP" && $_POST['monitor'] != "HTTP" && $_POST['monitor'] != "ICMP") - $input_errors[] = "Invalid monitor chosen."; + + if($POST['type'] == "server") { + if ($_POST['monitor'] != "TCP" && $_POST['monitor'] != "HTTP" && $_POST['monitor'] != "ICMP") + $input_errors[] = "Invalid monitor chosen."; + } if (!$input_errors) { $poolent = array(); |