[PATCH applied] Re: socket: Fix various conversion warnings

Gert Doering <[email protected]>
Newsgroups gmane.network.openvpn.devel
Message-ID <[email protected]>
Closing down on the remaining integer conversion #pragma :-)

Not sure the IFNAMSIZ dance is really needed - setsockopt() will tell
use if it is too long - but we get a better error message this way, so
it's a useful change.

Since I wasn't sure about the changes to the resolving path (is the 
info.af always set here?), I added an extra run of the IPv4/IPv6/DNS
t_client tests on this (all pass).

Your patch has been applied to the master branch.

commit 0d257840e2130815376f94006b4b2671983109d9
Author: Frank Lichtenheld
Date:   Mon Aug 24 18:05:47 2026 +0200

     socket: Fix various conversion warnings

     Signed-off-by: Frank Lichtenheld <[email protected]>
     Acked-by: Razvan Cojocaru <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1476
     Message-Id: <[email protected]>
     URL: https://www.mail-archive.com/[email protected]/msg38632.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.