Update code

This commit is contained in:
Nick Peng
2018-07-24 23:35:41 +08:00
parent 9fcd90077a
commit 8cff251065
3 changed files with 14 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ o.datatype = "port"
o.rempty = false
o = s:option(Flag, "redirect", translate("redirect"), translate("redirect standard dns query from 53 to smartdns"))
o.default = "1"
o.default = true
o.placeholder = "1"
o.rempty = false
@@ -45,7 +45,7 @@ o = s:option(Value, "rr_ttl_min", translate("Domain TTL Min"), translate("Minimu
o.rempty = true
---- rr-ttl-max
o = s:option(Value, "rr_ttl_min", translate("Domain TTL Max"), translate("Maximum TTL for all domain result."))
o = s:option(Value, "rr_ttl_max", translate("Domain TTL Max"), translate("Maximum TTL for all domain result."))
o.rempty = true
-- Upstream servers