This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/19812 ) Change subject: socker: Remove AI_ADDRCONFIG from getaddrinfo flags ...................................................................... socker: Remove AI_ADDRCONFIG from getaddrinfo flags The flag was added recently in cd133316cfc735a3006d499dae6b2f693c3c741c, and it is causing issues while running unit tests in environement like OBS where probably there's no non-loopback address configured. Change-Id: I47c31953f1db39fcd2870bde0b984057b8e7b4c4 --- M src/socket.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/socket.c b/src/socket.c index 0b84b99..1afbe6e 100644 --- a/src/socket.c +++ b/src/socket.c @@ -79,7 +79,7 @@ hints.ai_socktype = type; hints.ai_protocol = proto; } - hints.ai_flags = AI_ADDRCONFIG; + if (passive) hints.ai_flags |= AI_PASSIVE; -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19812 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I47c31953f1db39fcd2870bde0b984057b8e7b4c4 Gerrit-Change-Number: 19812 Gerrit-PatchSet: 3 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200825/b37c57b7/attachment.htm>