Use inet_pton() to parse Subnets.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 27 Jul 2021 12:46:17 +0000 (14:46 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 27 Jul 2021 12:46:17 +0000 (14:46 +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