summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ocserv/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-02-08 19:13:39 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-02-08 19:13:39 +0100
commitcd24ad05a4a87e5bb37a64a26a72e609b523c640 (patch)
tree985350dc3ff5a070b1223e0239693aec8be7050a /applications/luci-app-ocserv/luasrc/model
parenta0f0e008f7f381038cc52987efdbde6f62d1bcbc (diff)
parentd0759af923f601585e2515329fc7eb294cb1a0c1 (diff)
Merge pull request #305 from nmav/compression
luci-app-ocserv: Added option to enable compression
Diffstat (limited to 'applications/luci-app-ocserv/luasrc/model')
-rw-r--r--applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua4
1 files changed, 4 insertions, 0 deletions
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 23f6f5c84..d1cc155fa 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"