openvpn: add possibility to set param "compress" without algorithm
authorMartin Schiller <ms@dev.tdt.de>
Tue, 14 Jan 2020 14:20:14 +0000 (15:20 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 27 Apr 2024 09:53:35 +0000 (11:53 +0200)
commit09a85c7e99e97c20f1e5009278d3cdc08750589b
treee16ad2b40d93aa332f49d6c9fa02cdbdd3f71569
parentbfb0d953f0344bdf60a3800c440541be4330949b
openvpn: add possibility to set param "compress" without algorithm

In some situations you need to set the compress param without an
algorithm. Compression will be turned off, but the packet framing for
compression will still be enabled, allowing a different setting to be
pushed later.

As it is not possible to have options with optional values at the
moment, I've introduced a pseudo value "frames_only" which will be
removed in the init script.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
(cherry picked from commit 5ce5220eb23ffdfcce74541f07cff4fb3a3ade08)
net/openvpn/Makefile
net/openvpn/files/openvpn.init