diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2024-08-21 05:53:11 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2024-08-21 05:53:11 +0000 |
commit | 9a847ada74358d34373a197dc8461f2e0c8fd17a (patch) | |
tree | 5089899472a9971c9c72f9f13b8918a02f2df842 /etc | |
parent | ac13c22c3cc1b0ead5667597fab8c24c107ff1f3 (diff) |
Make sure ai_canonname is set when AI_CANONNAME was requested.
We document, and posix requires, to return a NUL-terminated string on
a successful call to getaddrinfo(3) when AI_CANONNAME was set.
If the canonical name cannot be determined, return the node name as
suggested by posix.
OK guenther
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions