aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/www/haproxy_listeners_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-05 16:50:23 -0200
committerRenato Botelho <renato@netgate.com>2015-11-05 16:50:23 -0200
commita616f7a7ce42c8c5bcf30fe2e6cad8f4d5403599 (patch)
treeeca53143c232e667176fe6434438261f530efe20 /config/haproxy-devel/www/haproxy_listeners_edit.php
parentba5064d40f6691089af307ecdb54b0b41453852e (diff)
parentd70d488f5d9427dc97b7be5a00f59f26315230c4 (diff)
downloadpfsense-packages-a616f7a7ce42c8c5bcf30fe2e6cad8f4d5403599.tar.gz
pfsense-packages-a616f7a7ce42c8c5bcf30fe2e6cad8f4d5403599.tar.bz2
pfsense-packages-a616f7a7ce42c8c5bcf30fe2e6cad8f4d5403599.zip
Merge pull request #1135 from PiBa-NL/haproxy_pkg0.32RELENG_2_2_5
Diffstat (limited to 'config/haproxy-devel/www/haproxy_listeners_edit.php')
-rw-r--r--config/haproxy-devel/www/haproxy_listeners_edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/haproxy-devel/www/haproxy_listeners_edit.php b/config/haproxy-devel/www/haproxy_listeners_edit.php
index 9d2b0b05..8e6c1c3d 100644
--- a/config/haproxy-devel/www/haproxy_listeners_edit.php
+++ b/config/haproxy-devel/www/haproxy_listeners_edit.php
@@ -283,6 +283,7 @@ if (isset($id) && $a_backend[$id]) {
if (isset($_GET['dup'])) {
unset($id);
+ $pconfig['name'] .= "-copy";
if ($pconfig['secondary'] != 'yes')
$pconfig['primary_frontend'] = $pconfig['name'];
}