summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model
diff options
context:
space:
mode:
authorArnie97 <arnie97@gmail.com>2015-11-27 11:20:26 +0800
committerArnie97 <arnie97@gmail.com>2015-12-03 23:17:46 +0800
commit7a433791966cd00408ca8a3ddbdd5e653e009e08 (patch)
treeac54f31bbbc0535e8c841406600d798c3f49b38b /applications/luci-app-openvpn/luasrc/model
parentc123fa86b02f7e9ecd7d474a03359628b444bd1d (diff)
luci-app-openvpn: Add udp6 and tcp6 to proto
Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
index 561b0dd028..e75203db60 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
@@ -24,7 +24,7 @@ local basicParams = {
{ ListValue,"comp_lzo",{"yes","no","adaptive"}, translate("Use fast LZO compression") },
{ Value,"keepalive","10 60", translate("Helper directive to simplify the expression of --ping and --ping-restart in server mode configurations") },
- { ListValue,"proto",{ "udp", "tcp" }, translate("Use protocol") },
+ { ListValue,"proto",{ "udp", "udp6", "tcp", "tcp6" }, translate("Use protocol") },
{ Flag,"client",0, translate("Configure client mode") },
{ Flag,"client_to_client",0, translate("Allow client-to-client traffic") },