summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_pool_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-31 18:11:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-31 18:11:30 +0000
commit46732bffef5be4e15fb32fde4c6c96367f21ccee (patch)
tree820493c0575e04e6212d226d4bc6ad26c461580b /usr/local/www/load_balancer_pool_edit.php
parenta4ea33406c8bfca8aa04c0e33d001f47b57b2f21 (diff)
downloadpfsense-46732bffef5be4e15fb32fde4c6c96367f21ccee.zip
pfsense-46732bffef5be4e15fb32fde4c6c96367f21ccee.tar.gz
Correctly restore selection
Ticket #806
Diffstat (limited to 'usr/local/www/load_balancer_pool_edit.php')
-rwxr-xr-xusr/local/www/load_balancer_pool_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php
index 0650b49..9f7ca00 100755
--- a/usr/local/www/load_balancer_pool_edit.php
+++ b/usr/local/www/load_balancer_pool_edit.php
@@ -213,8 +213,8 @@ function clearcombo(){
<td width="22%" valign="top" class="vncellreq">Monitor</td>
<td width="78%" class="vtable" colspan="2">
<select id="monitor" name="monitor">
- <option value="TCP">TCP</option>
- <option value="ICMP">ICMP</option>
+ <option value="TCP"<?php if($pconfig['monitor'] == "TCP") echo " SELECTED"; ?>>TCP</option>
+ <option value="ICMP"<?php if($pconfig['monitor'] == "ICMP") echo " SELECTED"; ?>>ICMP</option>
<!-- billm - XXX: add HTTP/HTTPS here -->
</select>
</td>
OpenPOWER on IntegriCloud