diff options
author | jim-p <jimp@pfsense.org> | 2015-03-16 15:27:47 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-03-16 15:27:47 -0400 |
commit | fd2a5aeab821b902a078c2683b92a8c1908ad3df (patch) | |
tree | bcf6f31c33fa37bd1ebf76fd90bd55111fbaf5c5 /config/haproxy1_5 | |
parent | 659d3a7b8d1a8e726dd2867e9fd2916fac605234 (diff) | |
parent | 921f05b5f350ef0d39e93fe9b1c8efac7dd8b64d (diff) | |
download | pfsense-packages-fd2a5aeab821b902a078c2683b92a8c1908ad3df.tar.gz pfsense-packages-fd2a5aeab821b902a078c2683b92a8c1908ad3df.tar.bz2 pfsense-packages-fd2a5aeab821b902a078c2683b92a8c1908ad3df.zip |
Merge pull request #834 from PiBa-NL/haproxy-devel21RELENG_2_2_1
Diffstat (limited to 'config/haproxy1_5')
-rw-r--r-- | config/haproxy1_5/pkg/haproxy.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/haproxy1_5/pkg/haproxy.inc b/config/haproxy1_5/pkg/haproxy.inc index 15fbcd17..495f59c0 100644 --- a/config/haproxy1_5/pkg/haproxy.inc +++ b/config/haproxy1_5/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; |