From: Guus Sliepen Date: Tue, 27 Jul 2021 12:46:17 +0000 (+0200) Subject: Use inet_pton() to parse Subnets. X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;ds=inline;h=f7f7d8b15e12471c95bbd291195e83c5126a0631;hp=f7f7d8b15e12471c95bbd291195e83c5126a0631;p=tinc Use inet_pton() to parse Subnets. 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. ---