Date: Sun, 8 Dec 2024 15:20:57 +0100 (CET) Message-Id: <202412081420.4B8EKvXV024670@...2054...> From: Gert Doering In-Reply-To: References: Subject: [Openvpn-devel] [PATCH applied] Re: Fix port-share journal doc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: corubba Cc: openvpn-devel@lists.sourceforge.net Acked-by: Gert Doering Neither the code nor the manpage are particularily easy to digest, but after staring at the code for quite a bit I have to agree with your manpage fix. The "to" bit goes into the filename... && !getsockname(cp->sd, (struct sockaddr *) &to.addr.sa, &dlen)) .. const char *t = print_openvpn_sockaddr(&to, &gc); fnlen = strlen(journal_dir) + strlen(t) + 2; snprintf(jfn, fnlen, "%s/%s", journal_dir, t); .. and the "from" bit into the file content. if (!getpeername(pc->sd, (struct sockaddr *) &from.addr.sa, &slen) .. const char *f = print_openvpn_sockaddr(&from, &gc); if (write(fd, f, strlen(f)) != strlen(f)) Your patch has been applied to the master and release/2.6 branch (bugfix). commit 9343cd101d74377305b96cd501b8659f64c70e46 (master) commit 6d64fa4bfff935eb82f9786f709126ab02f0d8b3 (release/2.6) Author: corubba Date: Sun Dec 8 00:19:35 2024 +0100 Fix port-share journal doc Signed-off-by: corubba Acked-by: Gert Doering Message-Id: URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30036.html Signed-off-by: Gert Doering -- kind regards, Gert Doering