Preferences improvements

- Add a Secondary DNS server
- Organize the featured DNS list into a table
- Split shaping directions only on advanced preferences
- Add redirection URL
This commit is contained in:
emanuele-f 2017-05-17 15:48:41 +02:00
parent 0e66f642a0
commit e7ab4af605
9 changed files with 107 additions and 33 deletions

View file

@ -2203,6 +2203,10 @@ function getIPv4Pattern()
return "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$"
end
function getURLPattern()
return "^https?://.+$"
end
-- makeTopStatsScriptsArray
function makeTopStatsScriptsArray()
path = dirs.installdir .. "/scripts/lua/modules/top_scripts"