update luci-app-kcptun to fix 500 error

This commit is contained in:
coolsnowwolf 2018-04-09 17:39:56 +08:00
parent 6c91a2e106
commit 6781b6f552
2 changed files with 22 additions and 22 deletions

View File

@ -45,8 +45,8 @@ end
o = s:option(DummyValue, "_listen_addres", translate("Listen Address"))
function o.cfgvalue(self, section)
local local_host = m.uci.get("kcptun", section, "listen_addr") or "0.0.0.0"
local local_port = m.uci.get("kcptun", section, "listen_port") or "12984"
local local_host = m.uci:get("kcptun", section, "listen_addr") or "0.0.0.0"
local local_port = m.uci:get("kcptun", section, "listen_port") or "12984"
return "%s:%s" % { get_ip_string(local_host), local_port }
end

View File

@ -285,64 +285,64 @@ msgid ""
msgstr "更新 LuCI 之后你可能需要手动刷新当前页面。注意:翻译不会被更新"
msgid "acknodelay"
msgstr "立即响应"
msgstr ""
msgid "autoexpire"
msgstr "过期时间"
msgstr ""
msgid "conn"
msgstr "连接数"
msgstr ""
msgid "crypt"
msgstr "加密方式"
msgstr ""
msgid "datashard"
msgstr "数据块"
msgstr ""
msgid "dscp"
msgstr "数据包优先级"
msgstr ""
msgid "interval"
msgstr "间隔时间"
msgstr ""
msgid "keepalive"
msgstr "保持连接时间"
msgstr ""
msgid "mode"
msgstr "模式"
msgstr ""
msgid "mtu"
msgstr "MTU大小"
msgstr ""
msgid "nc"
msgstr "关闭流控"
msgstr ""
msgid "nocomp"
msgstr "禁用压缩"
msgstr ""
msgid "nodelay"
msgstr "Nodelay模式"
msgstr ""
msgid "optional"
msgstr "可选"
msgid "parityshard"
msgstr "校验块"
msgstr ""
msgid "rcvwnd"
msgstr "接收窗口大小"
msgstr ""
msgid "resend"
msgstr "快速重传"
msgstr ""
msgid "scavengettl"
msgstr "清除TTL"
msgstr ""
msgid "sndwnd"
msgstr "发送窗口大小"
msgstr ""
msgid "snmpperiod"
msgstr "SNMP周期"
msgstr ""
msgid "sockbuf"
msgstr "Socket缓冲区大小"
msgstr ""