Date: Thu, 23 Mar 2023 18:24:23 +0100 (CET) Message-Id: <202303231724.32NHONL5046938@...2054...> From: Gert Doering In-Reply-To: <20230323170601.1256132-1-arne@...1227...> References: <20230323170601.1256132-1-arne@...1227...> Subject: [Openvpn-devel] [PATCH applied] Re: Simplify --compress parsing in options.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Arne Schwabe Cc: openvpn-devel@lists.sourceforge.net Acked-by: Gert Doering "git show -w" shows that this is mostly whitespace changes and streq()'ing alg instead of p[1] - with alg defaulting to "stub" now (instead of having an else{} clause for "no option" that does the same). There is a minor difference, as "compress " would set COMP_F_SWAP beforehand, and now adds COMP_F_ADVERTISE_STUBS_ONLY, which might warrant an update to the documentation (it says "Additionally, 'stub' and 'stub-v2' will disable announcing lzo and lz4 compression", so there is a documented difference to 'empty'). Client-side tested on Linux / t_client with and without compression. Your patch has been applied to the master and release/2.6 branch. commit bfc00a01c10bbdd9683aab5db2c2e7dcbb2f7378 (master) commit 5fed4be1bf4b2c6e4ff0117bceb9613fa68b412d (release/2.6) Author: Arne Schwabe Date: Thu Mar 23 18:05:58 2023 +0100 Simplify --compress parsing in options.c Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20230323170601.1256132-1-arne@...1227...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26501.html Signed-off-by: Gert Doering -- kind regards, Gert Doering