chiark / gitweb /
ipv6: Support printing, comparing, etc. IPv6 addresses
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Jun 2014 22:10:31 +0000 (23:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Sep 2014 17:48:11 +0000 (18:48 +0100)
commit750c488b451b96f5f76ca20389a3da0ff17f2551
treeaa35d84bb98f812ce844fc8197e697454a87c990
parent99bac74a19165e165822c3c4da0f76863b630daf
ipv6: Support printing, comparing, etc. IPv6 addresses

If we support IPv6, convert addresses with adns_addr2text.  Otherwise
stick with inet_ntoa.

With these changes, there is nothing remaining that will actually
crash secnet if it is passed an IPv6 address.  However, it is not yet
possible to mention IPv6 addresses in the configuration, and the udp
transport needs dual stack support.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
secnet.h
util.c