chiark / gitweb /
src/, client/: Use the new adns_text2addr/addr2text functions.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 24 May 2014 13:00:03 +0000 (14:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 13 Jun 2014 08:57:41 +0000 (09:57 +0100)
commit844e3556cd0198367555015b36e9b5263e7abecb
treed0f206fa8c122185073aaba0cc3c618e7acbc093
parenteca4e30a85d4b680d2cfd95bd7eff3719b2fbb46
src/, client/: Use the new adns_text2addr/addr2text functions.

The sortlist is now IPv6 aware.  The nameserver configuration could cope
with IPv6 addresses, but the transport machinery can't, so we pick them
out by hand.  PTR reverse-query handling still doesn't do anything
special, because we don't have AAAA query support yet.

I've also hacked adnshost's `-i' and `--reverse' options to use the new
functions, and they'll accept IPv6 addresses, but the underlying
adns_submit_reverse machinery will reject them still.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
client/adh-query.c
src/addrfam.c
src/general.c
src/internal.h
src/setup.c
src/types.c