Update luci-app-openvpn support IPv6 (#3681)

修复这里https://github.com/coolsnowwolf/lede/issues/3657
This commit is contained in:
lunatickochiya 2020-03-09 16:35:07 +08:00 committed by GitHub
parent 4c6aeede97
commit aaf410b642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,8 +14,10 @@ s:tab("basic", translate("Base Setting"))
o = s:taboption("basic", Flag, "enabled", translate("Enable"))
proto = s:taboption("basic",Value,"proto", translate("Proto"))
proto:value("tcp", translate("TCP Server"))
proto:value("udp", translate("UDP Server"))
proto:value("tcp4", translate("TCP Server IPv4"))
proto:value("udp4", translate("UDP Server IPv4"))
proto:value("tcp6", translate("TCP Server IPv6"))
proto:value("udp6", translate("UDP Server IPv6"))
port = s:taboption("basic", Value, "port", translate("Port"))
port.datatype = "range(1,65535)"