mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
add Pasv min and max port support in luci app vsftpd
This commit is contained in:
parent
d421e24773
commit
831281a17c
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for VSFTPD
|
||||
LUCI_DEPENDS:=+vsftpd-alt
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
@ -39,6 +39,14 @@ o = sl:option(Value, "dataport", translate("Data Port"))
|
||||
o.datatype = "uinteger"
|
||||
o.default = "20"
|
||||
|
||||
o = sl:option(Value, "pasv_min_port", translate("Pasv Min Port"))
|
||||
o.datatype = "uinteger"
|
||||
o.default = "50000"
|
||||
|
||||
o = sl:option(Value, "pasv_max_port", translate("Pasv Max Port"))
|
||||
o.datatype = "uinteger"
|
||||
o.default = "51000"
|
||||
|
||||
|
||||
sg = m:section(NamedSection, "global", "global", translate("Global Settings"))
|
||||
|
||||
|
@ -227,3 +227,10 @@ msgstr "单位为秒"
|
||||
|
||||
msgid "in KB/s, 0 means no limitation"
|
||||
msgstr "单位为 KB/s,0 表明不限制"
|
||||
|
||||
msgid "Pasv Min Port"
|
||||
msgstr "Pasv 模式最小端口"
|
||||
|
||||
msgid "Pasv Max Port"
|
||||
msgstr "Pasv 模式最大端口"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user