Merge pull request #305 from nmav/compression
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Feb 2015 18:13:39 +0000 (19:13 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Feb 2015 18:13:39 +0000 (19:13 +0100)
luci-app-ocserv: Added option to enable compression

applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua

index 23f6f5c..d1cc155 100644 (file)
@@ -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"