summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-08-01 16:57:31 -0300
committerRenato Botelho <renato@netgate.com>2017-08-01 16:57:57 -0300
commita98daee30e7224ac933f07f27bdbb1b7c3081acf (patch)
tree76790f3c75db824daccd5c13f91ec087290c3c4a /src/usr
parentd08c13875483a81b6393f0127abe719e5734dea4 (diff)
downloadpfsense-a98daee30e7224ac933f07f27bdbb1b7c3081acf.zip
pfsense-a98daee30e7224ac933f07f27bdbb1b7c3081acf.tar.gz
Fix #7625: Auto select '128' as mask for IPv6
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/js/pfSense.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/js/pfSense.js b/src/usr/local/www/js/pfSense.js
index 7f4fa06..3070074 100644
--- a/src/usr/local/www/js/pfSense.js
+++ b/src/usr/local/www/js/pfSense.js
@@ -132,6 +132,8 @@ $(function() {
if (select.options.length < max) {
for (var i=select.options.length; i<=max; i++)
select.options.add(new Option(i, i), 0);
+ // Make sure index 0 is selected otherwise it will stay in "32" for V6
+ select.options.selectedIndex = "0";
}
});
OpenPOWER on IntegriCloud