diff options
author | Renato Botelho <renato@netgate.com> | 2017-08-01 16:57:31 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-08-01 16:57:57 -0300 |
commit | a98daee30e7224ac933f07f27bdbb1b7c3081acf (patch) | |
tree | 76790f3c75db824daccd5c13f91ec087290c3c4a /src/usr | |
parent | d08c13875483a81b6393f0127abe719e5734dea4 (diff) | |
download | pfsense-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.js | 2 |
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"; } }); |