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>
Thu, 2 Oct 2014 15:30:20 +0000 (16:30 +0100)
commit22fb98aea620037f03a00d107320eab0c3e933cc
tree807cc4d08880df60f6ea7d5ae396a784028374c9
parent8a652c3d48f720ec960637035ada3c6d95c1a3da
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