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>
Sun, 5 Oct 2014 20:27:29 +0000 (21:27 +0100)
commit61dbc9e060153651a0d4eecac5a5fab1c36fa530
treeff3335967dd1b8baf53addd4eb863a287771a405
parent2b8aa340af8302c41ff3b18d10f608672590c764
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