From 20051a3698a5d22caebf193003eb3b58aa04260d Mon Sep 17 00:00:00 2001 From: Nick Peng Date: Sun, 16 Feb 2020 14:35:19 +0800 Subject: [PATCH] second DNS: change default port 7053 to 6553 --- .../luci-compat/files/luci/model/cbi/smartdns/smartdns.lua | 4 ++-- .../htdocs/luci-static/resources/view/smartdns/smartdns.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/luci-compat/files/luci/model/cbi/smartdns/smartdns.lua b/package/luci-compat/files/luci/model/cbi/smartdns/smartdns.lua index c0039e4..b9ba907 100644 --- a/package/luci-compat/files/luci/model/cbi/smartdns/smartdns.lua +++ b/package/luci-compat/files/luci/model/cbi/smartdns/smartdns.lua @@ -128,8 +128,8 @@ o.rempty = false ---- Port o = s:taboption("seconddns", Value, "seconddns_port", translate("Local Port"), translate("Smartdns local server port")) -o.placeholder = 7053 -o.default = 7053 +o.placeholder = 6553 +o.default = 6553 o.datatype = "port" o.rempty = false diff --git a/package/luci/files/luci/htdocs/luci-static/resources/view/smartdns/smartdns.js b/package/luci/files/luci/htdocs/luci-static/resources/view/smartdns/smartdns.js index f4f9de8..58c0cfa 100644 --- a/package/luci/files/luci/htdocs/luci-static/resources/view/smartdns/smartdns.js +++ b/package/luci/files/luci/htdocs/luci-static/resources/view/smartdns/smartdns.js @@ -241,8 +241,8 @@ return L.view.extend({ // Port; o = s.taboption("seconddns", form.Value, "seconddns_port", _("Local Port"), _("Smartdns local server port")); - o.placeholder = 7053; - o.default = 7053; + o.placeholder = 6553; + o.default = 6553; o.datatype = "port"; o.rempty = false;