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-12-22 11:43:29 +01:00
2021-12-23 19:36:50 -06:00
2022-12-05 10:47:19 +01:00
2022-12-22 11:43:29 +01:00
2021-12-23 19:36:50 -06:00
2022-08-06 11:27:56 -05:00
2022-09-02 20:27:14 -05:00
2021-12-23 19:36:50 -06:00
2022-08-17 12:34:01 -05:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2022-08-06 11:27:56 -05:00
2022-12-22 10:31:43 +01:00
2022-12-22 10:31:43 +01:00
2022-12-22 11:43:29 +01:00
2022-12-22 11:43:29 +01:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2022-08-06 11:27:56 -05:00
2021-12-23 19:36:50 -06:00
2022-08-06 11:27:56 -05:00
2022-08-06 11:27:56 -05:00
2021-12-23 19:36:50 -06:00
2022-12-22 11:43:29 +01:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2022-12-15 16:22:05 -06:00
2021-12-23 19:36:50 -06:00
2022-08-06 11:27:56 -05:00
2021-12-23 19:36:50 -06:00
2022-12-22 11:43:29 +01:00
2022-12-22 11:43:29 +01:00
2022-01-03 15:09:17 +01:00
2022-12-22 11:43:29 +01:00
2022-12-15 16:22:05 -06:00
2022-12-22 11:43:29 +01:00
2022-08-17 12:34:01 -05:00
2022-12-15 16:22:05 -06:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2022-12-22 11:43:29 +01:00
2022-12-22 10:31:43 +01:00
2022-12-22 18:03:39 -06:00
2021-12-23 19:36:50 -06:00
2022-12-15 16:22:05 -06:00
2022-12-15 16:22:05 -06:00
2022-12-15 16:22:05 -06:00
2022-12-15 16:22:05 -06:00
2021-12-23 19:36:50 -06:00
2022-03-18 20:24:10 -05:00
2021-12-23 19:36:50 -06:00