Use inet_pton() to parse Subnets.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 27 Jul 2021 10:21:07 +0000 (12:21 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 27 Jul 2021 10:21:07 +0000 (12:21 +0200)
Nowadays all operating systems tinc runs on should support IPv6, so we
can rely on inet_pton() and inet_ntop() to convert IPv4 and IPv6
addresses. Use this instead of our own parsing code.


No differences found