luci-app-openvpn: Add udp6 and tcp6 to proto 559/head
authorArnie97 <arnie97@gmail.com>
Fri, 27 Nov 2015 03:20:26 +0000 (11:20 +0800)
committerArnie97 <arnie97@gmail.com>
Thu, 3 Dec 2015 15:17:46 +0000 (23:17 +0800)
Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua

index 561b0dd028b2c82629daab1dc09a5740d5295fc3..e75203db605ae6c8fc424e9b0fe8ed0ca68d6fc7 100644 (file)
@@ -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") },