luci-app-ocserv: Added option to enable compression 305/head
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 20 Jan 2015 21:21:20 +0000 (22:21 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 20 Jan 2015 21:21:20 +0000 (22:21 +0100)
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua

index d354cf64451d750e7dfdbe67689eb7068bf6ad4e..ef0e53daf4ba28702bed8f450711a228be794dfb 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"