diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-08 19:13:39 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-08 19:13:39 +0100 |
commit | cd24ad05a4a87e5bb37a64a26a72e609b523c640 (patch) | |
tree | 985350dc3ff5a070b1223e0239693aec8be7050a /applications/luci-app-ocserv/luasrc/model/cbi/ocserv | |
parent | a0f0e008f7f381038cc52987efdbde6f62d1bcbc (diff) | |
parent | d0759af923f601585e2515329fc7eb294cb1a0c1 (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/cbi/ocserv')
-rw-r--r-- | applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua | 4 |
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 23f6f5c84c..d1cc155fa5 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" |