diff options
author | thompsa <andy@fud.org.nz> | 2010-02-08 12:59:16 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2010-02-08 12:59:16 +1300 |
commit | a0da2cb16356f9ec70d8d0cb7cd6c077a863813c (patch) | |
tree | cf640da86f5960989fb9663d83948cf870934ec1 /config/haproxy-dev/haproxy.inc | |
parent | cc3044cdf96229c0d004e619b17fd6b3408d0019 (diff) | |
download | pfsense-packages-a0da2cb16356f9ec70d8d0cb7cd6c077a863813c.tar.gz pfsense-packages-a0da2cb16356f9ec70d8d0cb7cd6c077a863813c.tar.bz2 pfsense-packages-a0da2cb16356f9ec70d8d0cb7cd6c077a863813c.zip |
Provide default for expr and fix typeo.
Diffstat (limited to 'config/haproxy-dev/haproxy.inc')
-rw-r--r-- | config/haproxy-dev/haproxy.inc | 2 |
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"); } |