From: Arnie97 Date: Fri, 27 Nov 2015 03:20:26 +0000 (+0800) Subject: luci-app-openvpn: Add udp6 and tcp6 to proto X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7a433791966cd00408ca8a3ddbdd5e653e009e08;p=oweals%2Fluci.git luci-app-openvpn: Add udp6 and tcp6 to proto Signed-off-by: Yifeng Zhang --- 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 561b0dd02..e75203db6 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") },