aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-20 17:19:19 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-20 17:19:19 -0500
commit72c968ff2389646b0ff3648bef03d9279c2e970b (patch)
tree5bd2dbddb136e70a1a8cee6836e962650c9ad2d7 /config
parentd4ba1099e35fcfde146e17d95dca588c1fc95250 (diff)
downloadpfsense-packages-72c968ff2389646b0ff3648bef03d9279c2e970b.tar.gz
pfsense-packages-72c968ff2389646b0ff3648bef03d9279c2e970b.tar.bz2
pfsense-packages-72c968ff2389646b0ff3648bef03d9279c2e970b.zip
Split ports by ,
Diffstat (limited to 'config')
-rwxr-xr-xconfig/haproxy/haproxy_backends_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_backends_edit.php b/config/haproxy/haproxy_backends_edit.php
index fe92c5ed..f277956c 100755
--- a/config/haproxy/haproxy_backends_edit.php
+++ b/config/haproxy/haproxy_backends_edit.php
@@ -120,7 +120,7 @@ if ($_POST) {
if (!is_numeric($_POST['max_connections']))
$input_errors[] = "The field 'Max connections' value is not a number.";
- $ports = $_POST['port'];
+ $ports = split(",", $_POST['port'] . ",");
foreach($ports as $port)
if ($port && !is_numeric($port))
$input_errors[] = "The field 'Port' value is not a number.";