chiark / gitweb /
src/adns.h, src/types.c: Now adns_rr_addr can hold a sockaddr_in6.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 1 Jun 2014 00:20:47 +0000 (01:20 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 13 Jun 2014 08:57:41 +0000 (09:57 +0100)
commitef7070af88d49462b8247c5b674208ea721a88c9
treec9f010eafd1e95a9ec85c5146c6550107a212883
parent689cab430cde9ece57fa6632bbae176f4e899a75
src/adns.h, src/types.c: Now adns_rr_addr can hold a sockaddr_in6.

This uses the recently introduced variable-size record structure
machinery so that only clients compiled against the new header file see
the larger record structure.

Note that we don't even try to actually do lookups for IPv6 addresses.
That will come later on.  This is just about sorting out the binary
interface.

Arrange that regress/case-brokenmail.sys asks for the correct record
size, because otherwise the answers get printed out wrongly.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
regress/case-brokenmail.sys
regress/case-rr_addr-binary-compat.err [new file with mode: 0644]
regress/case-rr_addr-binary-compat.out [new file with mode: 0644]
regress/case-rr_addr-binary-compat.sys [new file with mode: 0644]
regress/init-distorted.text [new file with mode: 0644]
src/adns.h
src/types.c