mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-19 11:57:12 -05:00

GCC 6 emits strict-aliasing warnings here, so use the existing sockaddr_union arrangements to avoid those. As a prerequisite for being able to express sk_tcp_peer_info in terms of sockaddr_union, I fixed up the union elements to be a bit less odd in the NO_IPV6 case.