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
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