aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/pkg
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2015-03-16 19:34:37 +0100
committerPiBa-NL <pba_2k3@yahoo.com>2015-03-16 19:34:37 +0100
commit921f05b5f350ef0d39e93fe9b1c8efac7dd8b64d (patch)
treeb2a6e750be7c7dbc9e197bc3d4029f4143ffc57d /config/haproxy-devel/pkg
parentba815dbdf7d2acfcd9a6ba4d0c30ac744af6ef36 (diff)
downloadpfsense-packages-921f05b5f350ef0d39e93fe9b1c8efac7dd8b64d.tar.gz
pfsense-packages-921f05b5f350ef0d39e93fe9b1c8efac7dd8b64d.tar.bz2
pfsense-packages-921f05b5f350ef0d39e93fe9b1c8efac7dd8b64d.zip
haproxy-1_5, haproxy-devel, pkg v0.22 fix SNI handling inspect-delay 5s instead if 5ms, show 'not' in acls when set
Diffstat (limited to 'config/haproxy-devel/pkg')
-rw-r--r--config/haproxy-devel/pkg/haproxy.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/haproxy-devel/pkg/haproxy.inc b/config/haproxy-devel/pkg/haproxy.inc
index 15fbcd17..495f59c0 100644
--- a/config/haproxy-devel/pkg/haproxy.inc
+++ b/config/haproxy-devel/pkg/haproxy.inc
@@ -1302,7 +1302,7 @@ function haproxy_writeconf($configpath) {
}
if ($inspectdelay > 0)
- fwrite ($fd, "\ttcp-request inspect-delay\t" . $inspectdelay . "\n");
+ fwrite ($fd, "\ttcp-request inspect-delay\t" . $inspectdelay . "s\n");
// Write acl's first, so they may be used by advanced text options written by user.
fwrite ($fd, $config_acls);
@@ -1897,9 +1897,9 @@ function get_frontend_acls($frontend) {
// Filter out acls for different modes
if ($acl['mode'] != '' && $acl['mode'] != strtolower($mainfrontend['type']))
continue;
- $not = $entry['not'] == "yes" ? "not " : "";
+ $not = $entry['not'] == "yes" ? "not: " : "";
$acl_item = array();
- $acl_item['descr'] = $acl['name'] . " " . (isset($acl['novalue']) ? "" : $entry['value']);
+ $acl_item['descr'] = $acl['name'] . " " . (isset($acl['novalue']) ? "" : $not . $entry['value']);
$acl_item['ref'] = $entry;
$result[] = $acl_item;