Alejandro Colomar b2bed465e8 Use getnameinfo(3) instead of our own equivalent
I didn't know getnameinfo(3) existed, so I implemented it, or something
similar to it called inet_sockaddr2str().  Let's use the standard API.

Link: <https://inbox.sourceware.org/libc-alpha/0f25d60f-f183-b518-b6c1-6d46aa63ee57@gmail.com/T/>
Link: <https://stackoverflow.com/a/42190913/6872717>
Link: <https://github.com/shadow-maint/shadow/pull/617>
Link: <https://software.codidact.com/posts/287748>
Cc: Zack Weinberg <zack@owlfolio.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-01-20 10:23:03 -06:00
..
2022-10-05 12:43:45 +02:00
2022-04-03 21:07:09 -05:00
2022-12-15 16:22:05 -06:00
2022-05-24 07:49:11 -05:00
2022-12-15 16:22:05 -06:00
2022-12-22 10:34:04 +01:00
2022-12-22 10:31:43 +01:00
2021-12-23 19:36:50 -06:00
2022-05-06 10:13:51 -05:00
2022-12-22 18:03:39 -06:00
2021-12-23 19:36:50 -06:00
2022-12-22 11:44:36 +01:00
2022-05-24 07:49:11 -05:00