[FS#827] Open Connect VPN compression option incorrectly coded

LEDE Bugs lede-bugs at lists.infradead.org
Tue Jun 6 03:01:17 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - gavdotcom (gavdotcom) 

Attached to Project - LEDE Project
Summary - Open Connect VPN compression option incorrectly coded
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - LEDE Reboot (17.01.1, r3316-7eb58cf109)
luci-app-ocserv - git-17.152.82987-7f6fc16-1

/etc/init.d/ocserv seems to be handling the compression option incorrectly. Tick "Enable compression" in luci and /var/etc/ocserv.conf is still generated as:
#compression = true
Since Open Connect Server defaults to "compression = false", this gives incorrect behavior.

/etc/init.d/ocserv - I changed
config_get compression $1 compression "0"
to:
config_get compression $1 compression "1"

...to get expected behavior. Easy fix for someone?

Also the compression config is not present in /usr/lib/lua/luci/model/cbi/ocserv/user-config.lua whereas other similar options are. I don't know if this is a problem or not.

Thank you kindly.

 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=827



More information about the lede-bugs mailing list