aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-dev/haproxy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/haproxy-dev/haproxy.inc')
-rw-r--r--config/haproxy-dev/haproxy.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/haproxy-dev/haproxy.inc b/config/haproxy-dev/haproxy.inc
index e60823b3..ba39e5c9 100644
--- a/config/haproxy-dev/haproxy.inc
+++ b/config/haproxy-dev/haproxy.inc
@@ -235,6 +235,8 @@ function haproxy_configure() {
$expr = 'path_dir -i';
else if ($acl['expression'] == "source_ip")
$expr = 'src';
+ else
+ $expr = $acl['expression'];
$expr .= " " . $acl['value'];
fwrite ($fd, "\tacl\t\t\t".$acl['name']."\t".$expr."\n");
}