diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-05 16:50:23 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-05 16:50:23 -0200 |
commit | a616f7a7ce42c8c5bcf30fe2e6cad8f4d5403599 (patch) | |
tree | eca53143c232e667176fe6434438261f530efe20 /config/haproxy-devel/www | |
parent | ba5064d40f6691089af307ecdb54b0b41453852e (diff) | |
parent | d70d488f5d9427dc97b7be5a00f59f26315230c4 (diff) | |
download | pfsense-packages-RELENG_2_2_5.tar.gz pfsense-packages-RELENG_2_2_5.tar.bz2 pfsense-packages-RELENG_2_2_5.zip |
Merge pull request #1135 from PiBa-NL/haproxy_pkg0.32RELENG_2_2_5
Diffstat (limited to 'config/haproxy-devel/www')
-rw-r--r-- | config/haproxy-devel/www/haproxy_listeners_edit.php | 1 | ||||
-rw-r--r-- | config/haproxy-devel/www/haproxy_pool_edit.php | 5 |
2 files changed, 4 insertions, 2 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']; } diff --git a/config/haproxy-devel/www/haproxy_pool_edit.php b/config/haproxy-devel/www/haproxy_pool_edit.php index 71da9732..2b4787f3 100644 --- a/config/haproxy-devel/www/haproxy_pool_edit.php +++ b/config/haproxy-devel/www/haproxy_pool_edit.php @@ -323,9 +323,10 @@ if (isset($id) && $a_pools[$id]) { } } -if (isset($_GET['dup'])) +if (isset($_GET['dup'])) { unset($id); - + $pconfig['name'] .= "-copy"; +} $changedesc = "Services: HAProxy: Backend server pool: "; $changecount = 0; |