[Openvpn-devel] [PATCH 1/2] Fix IPv6 in port-share journal

2024-12-07 Thread corubba via Openvpn-devel
getpeername() and getsockname() will truncate the result if it is larger than the passed-in length. Because here always the size of the `sa` IPv4 union member was passed in, all larger (aka IPv6) results were truncated. Instead use the size of the `addr` union, which is the maximum size of all unio

[Openvpn-devel] [PATCH 2/2] Fix port-share journal doc

2024-12-07 Thread corubba via Openvpn-devel
Filename and content descriptions were switched. Signed-off-by: corubba --- doc/man-sections/server-options.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/man-sections/server-options.rst b/doc/man-sections/server-options.rst index 0632e314..3fe9862c 100644 --- a/doc