summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-02-04 15:37:13 -0600
committerChris Buechler <cmb@pfsense.org>2016-02-04 15:38:13 -0600
commitd46049e1540fae78cc1a5929bdb7e84cf3a46dd0 (patch)
treef6b15aac155dfe8008e179e6a2a28f4af705ad09 /src/usr/local/www/system_gateways_edit.php
parent00de7de690df0beb8fff755518890878c1c7e41c (diff)
downloadpfsense-d46049e1540fae78cc1a5929bdb7e84cf3a46dd0.zip
pfsense-d46049e1540fae78cc1a5929bdb7e84cf3a46dd0.tar.gz
Allow gateway weights up to 30, and add a check in filter.inc to prevent creating too long of a route-to line. Related to pull request 1614
Diffstat (limited to 'src/usr/local/www/system_gateways_edit.php')
-rw-r--r--src/usr/local/www/system_gateways_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_gateways_edit.php b/src/usr/local/www/system_gateways_edit.php
index a926190..f6b3c2a 100644
--- a/src/usr/local/www/system_gateways_edit.php
+++ b/src/usr/local/www/system_gateways_edit.php
@@ -806,7 +806,7 @@ $section->addInput(new Form_Select(
'weight',
'Weight',
$pconfig['weight'],
- array_combine(range(1, 5), range(1, 5))
+ array_combine(range(1, 30), range(1, 30))
))->setHelp('Weight for this gateway when used in a Gateway Group.');
$section->addInput(new Form_Input(
OpenPOWER on IntegriCloud