aboutsummaryrefslogtreecommitdiff
path: root/support/support_format_addrinfo.c
AgeCommit message (Collapse)Author
2017-05-11support_format_addrinfo: Fix flags and canonname formattingFlorian Weimer
The address family splitting via format_ai_family made unpredictable the place where the canonname field was printed. This commit adjusts the implementation so that the ai_flags is checked for consistency across the list, and ai_canonname must only be present on the first list element. Tests for AI_CANONNAME are added to resolv/tst-resolv-basic.
2017-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
2016-12-31resolv: Add beginnings of a libresolv test suiteFlorian Weimer