summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-mini/luasrc/model')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/network.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/network.lua b/modules/admin-mini/luasrc/model/cbi/mini/network.lua
index dcd93a3079..e2d4e3c0c5 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/network.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/network.lua
@@ -53,18 +53,19 @@ pwd = s:option(Value, "password", translate("password"))
pwd:depends("proto", "pppoe")
pwd:depends("proto", "pptp")
-kea = s:option(Value, "keepalive", "Keep-Alive" .. translate("cbi_optional"))
+kea = s:option(Flag, "keepalive", translate("m_n_keepalive"))
kea:depends("proto", "pppoe")
kea:depends("proto", "pptp")
kea.rmempty = true
+kea.enabled = "10"
-cod = s:option(Value, "demand", "Dial on Demand" .. translate("cbi_optional"))
+cod = s:option(Value, "demand", translate("m_n_dialondemand"), "s")
cod:depends("proto", "pppoe")
cod:depends("proto", "pptp")
cod.rmempty = true
-srv = s:option(Value, "server", "PPTP-Server")
+srv = s:option(Value, "server", translate("m_n_pptp_server"))
srv:depends("proto", "pptp")
srv.rmempty = true