diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-02-04 15:37:13 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-02-04 15:38:13 -0600 |
commit | d46049e1540fae78cc1a5929bdb7e84cf3a46dd0 (patch) | |
tree | f6b15aac155dfe8008e179e6a2a28f4af705ad09 /src/usr/local/www | |
parent | 00de7de690df0beb8fff755518890878c1c7e41c (diff) | |
download | pfsense-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')
-rw-r--r-- | src/usr/local/www/system_gateways_edit.php | 2 |
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( |