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: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F305%2Fhead;p=oweals%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 d354cf644..ef0e53daf 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"