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)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Oct 2014 20:09:54 +0000 (21:09 +0100)
commitb0e8338ab13a968e398e8db4e81d5022af2059a2
tree668319be880a16d6a6bf0d84eb706db92d6c6997
parentc3a165f5e0c576df7bfa0febcdac973ecd23dea7
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