openwrt: support set smartdns as main server when port is 53

This commit is contained in:
Nick Peng
2022-08-30 01:46:11 +08:00
parent 0eef67c119
commit 7b3dcd31f9
2 changed files with 38 additions and 15 deletions

View File

@@ -176,8 +176,8 @@ return L.view.extend({
// Port;
o = s.taboption("settings", form.Value, "port", _("Local Port"), _("Smartdns local server port"));
o.placeholder = 6053;
o.default = 6053;
o.placeholder = 53;
o.default = 53;
o.datatype = "port";
o.rempty = false;