|
|
@ -123,11 +123,11 @@ enable = s:option(Flag, "ap_mode", translate("Enable as DHCP Mesh Node"), transl
|
|
|
|
enable.default = 0
|
|
|
|
enable.default = 0
|
|
|
|
enable.rmempty = false
|
|
|
|
enable.rmempty = false
|
|
|
|
|
|
|
|
|
|
|
|
---- ip address
|
|
|
|
---- make sure nodes know gateway ip address even though you really dont need it
|
|
|
|
--o = s:option(Value, "ipaddr", translate("Static IP Address"))
|
|
|
|
o = s:option(Value, "ipaddr", translate("Mesh Gateway IP Address"))
|
|
|
|
--o.default = "192.168.8.2"
|
|
|
|
o.default = "192.168.8.1"
|
|
|
|
--o.datatype = "ip4addr"
|
|
|
|
o.datatype = "ip4addr"
|
|
|
|
--o:depends("ap_mode", 1)
|
|
|
|
o:depends("ap_mode", 1)
|
|
|
|
|
|
|
|
|
|
|
|
---- o = s:option(Value, "dns", translate("Mesh Server IPv4 DNS"))
|
|
|
|
---- o = s:option(Value, "dns", translate("Mesh Server IPv4 DNS"))
|
|
|
|
--o.default = "192.168.8.1"
|
|
|
|
--o.default = "192.168.8.1"
|
|
|
|