From d0759af923f601585e2515329fc7eb294cb1a0c1 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 20 Jan 2015 22:21:20 +0100 Subject: [PATCH] luci-app-ocserv: Added option to enable compression --- applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.25.1