From 4f7ae8acdecf2ad45319270a0045af92d610264c Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Fri, 22 Aug 2025 22:52:16 +0200 Subject: [PATCH] options: Fix --hash-size virtual argument Previously we ignored the second argument to --hash-size. This bug is older than the openvpn git repository, but clearly this is not an option often used (or at all). Change-Id: Ibec7ffb9085503f72e79514776042bc310384f13 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Message-Id: <20250822205223.3492-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32658.html Signed-off-by: Gert Doering --- src/openvpn/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 5f9971cd2..e9584a829 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -7951,7 +7951,7 @@ add_option(struct options *options, char *p[], bool is_inline, const char *file, goto err; } options->real_hash_size = real; - options->virtual_hash_size = real; + options->virtual_hash_size = virtual; } else if (streq(p[0], "connect-freq") && p[1] && p[2] && !p[3]) { -- 2.47.2