projects
/
racktables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e80d6
)
r1429 + print comments for real servers, if they are known
author
Denis Ovsienko
<infrastation@yandex.ru>
Mon, 24 Dec 2007 21:25:50 +0000
(21:25 +0000)
committer
Denis Ovsienko
<infrastation@yandex.ru>
Mon, 24 Dec 2007 21:25:50 +0000
(21:25 +0000)
inc/interface.php
patch
|
blob
|
blame
|
history
diff --git
a/inc/interface.php
b/inc/interface.php
index f6e51590eb66000c1e68e37f2a65abce1b9db0b2..436ba2537ceebb0cac01a0c52e642bc02da1d382 100644
(file)
--- a/
inc/interface.php
+++ b/
inc/interface.php
@@
-3521,7
+3521,11
@@
function renderLVSConfig ($object_id = 0)
echo '# auto-VIP: ' . (empty ($vipdata['description']) ? 'NO NAME' : $vipdata['description']) . "\n";
echo "virtual_server ${vip} ${vport}\n";
foreach ($vportdata['rs'] as $rs)
+ {
+ if (!empty ($rs['description']))
+ echo "\t# " . $rs['description'] . "\n";
echo "\treal_server ${rs['address']} ${rs['port']} {\n\t}\n";
+ }
echo "}\n\n";
}
}