From: Nikos Mavrogiannopoulos Date: Tue, 20 Jan 2015 21:21:20 +0000 (+0100) Subject: luci-app-ocserv: Added option to enable compression X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d0759af923f601585e2515329fc7eb294cb1a0c1;p=project%2Fluci.git luci-app-ocserv: Added option to enable compression --- diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua index d354cf6445..ef0e53daf4 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua @@ -90,6 +90,10 @@ local pip = s:taboption("general", Flag, "predictable_ips", translate("Predictab translate("The assigned IPs will be selected deterministically")) pip.default = "1" +local compr = s:taboption("general", Flag, "compression", translate("Enable compression"), + translate("Enable compression")) +compr.default = "1" + local udp = s:taboption("general", Flag, "udp", translate("Enable UDP"), translate("Enable UDP channel support; this must be enabled unless you know what you are doing")) udp.default = "1"