diff options
author | Bill Marquette <billm@pfsense.org> | 2005-08-06 23:49:11 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-08-06 23:49:11 +0000 |
commit | 1fefa1da0a1ee9ce86c321e19ff5f42ec3615a89 (patch) | |
tree | 23e01346e959baccf32f53f5c91cd27b2aa077a0 /usr/local/www/load_balancer_virtual_server.php | |
parent | 3ad6d3bb0bb844fa5f345b965999858eeba71860 (diff) | |
download | pfsense-1fefa1da0a1ee9ce86c321e19ff5f42ec3615a89.zip pfsense-1fefa1da0a1ee9ce86c321e19ff5f42ec3615a89.tar.gz |
Kick the backend in the ass and make it start slbd (I hope)
Diffstat (limited to 'usr/local/www/load_balancer_virtual_server.php')
-rwxr-xr-x | usr/local/www/load_balancer_virtual_server.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr/local/www/load_balancer_virtual_server.php b/usr/local/www/load_balancer_virtual_server.php index 64c6963..bf91305 100755 --- a/usr/local/www/load_balancer_virtual_server.php +++ b/usr/local/www/load_balancer_virtual_server.php @@ -30,7 +30,8 @@ POSSIBILITY OF SUCH DAMAGE. */ -require("guiconfig.inc"); +require_once("guiconfig.inc"); +require_once("vslb.inc"); if (!is_array($config['load_balancer']['virtual_server'])) { $config['load_balancer']['virtual_server'] = array(); @@ -45,6 +46,7 @@ if ($_POST) { if (!file_exists($d_sysrebootreqd_path)) { config_lock(); $retval |= filter_configure(); + $retval |= slbd_configure(); config_unlock(); } $savemsg = get_std_save_message($retval); @@ -93,7 +95,8 @@ include("head.inc"); <div id="mainarea"> <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> - <td width="30%" class="listhdrr">Virtual server address</td> + <td width="10%" class="listhdrr">Name</td> + <td width="20%" class="listhdrr">Server address</td> <td width="10%" class="listhdrr">Port</td> <td width="20%" class="listhdrr">Pool</td> <td width="30%" class="listhdr">Description</td> @@ -102,6 +105,9 @@ include("head.inc"); <?php $i = 0; foreach ($a_vs as $vsent): ?> <tr> <td class="listlr" ondblclick="document.location='load_balancer_virtual_server_edit.php?id=<?=$i;?>';"> + <?=$vsent['name'];?> + </td> + <td class="listlr" ondblclick="document.location='load_balancer_virtual_server_edit.php?id=<?=$i;?>';"> <?=$vsent['ipaddr'];?> </td> <td class="listlr" ondblclick="document.location='load_balancer_virtual_server_edit.php?id=<?=$i;?>';"> @@ -123,7 +129,7 @@ include("head.inc"); </tr> <?php $i++; endforeach; ?> <tr> - <td class="list" colspan="4"></td> + <td class="list" colspan="5"></td> <td class="list"> <table border="0" cellspacing="0" cellpadding="1"> <tr> |