Просмотр исходного кода

second DNS: change default port 7053 to 6553

Nick Peng 5 лет назад
Родитель
Сommit
20051a3698

+ 2 - 2
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
 

+ 2 - 2
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;