From bbd5d83988f7c7b82e50f046996e4c47a568b116 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 7 Aug 2005 17:24:13 +0000 Subject: * Add javascript helper code * Add ICMP monitor protocol --- usr/local/www/load_balancer_pool_edit.php | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'usr') diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php index 478248e..7746544 100755 --- a/usr/local/www/load_balancer_pool_edit.php +++ b/usr/local/www/load_balancer_pool_edit.php @@ -78,7 +78,7 @@ if ($_POST) { $input_errors[] = "{$svrent} is not a valid IP address."; } } - if ($_POST['monitor'] != "TCP" && $_POST['monitor'] != "HTTP") + if ($_POST['monitor'] != "TCP" && $_POST['monitor'] != "HTTP" && $_POST['monitor'] != "ICMP") $input_errors[] = "Invalid monitor chosen."; if (!$input_errors) { @@ -124,6 +124,21 @@ include("head.inc"); + +

@@ -146,9 +161,9 @@ include("head.inc"); Type - - + @@ -164,6 +179,7 @@ include("head.inc"); @@ -172,7 +188,7 @@ include("head.inc"); Monitor IP - + @@ -217,7 +233,9 @@ include("head.inc"); - + -- cgit v1.1