mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 20:13:05 +02:00
fd6e76ea28
Since the memory layout of the IPAddr class has the field ver behind the union of u.v4 and u.v6, the whole u is always guaranteed to be valid and can be copied. This avoid the compiler warning that u.v6[1] might be undefined. Also initialise the union u by default. Signed-off-by: Arne Schwabe <arne@openvpn.net> |
||
---|---|---|
.. | ||
addrlist.hpp | ||
addrpair.hpp | ||
addrspacesplit.hpp | ||
ip.hpp | ||
iperr.hpp | ||
ipv4.hpp | ||
ipv6.hpp | ||
macaddr.hpp | ||
pool.hpp | ||
quoteip.hpp | ||
randaddr.hpp | ||
range.hpp | ||
regex.hpp | ||
route.hpp |