Change in libosmocore[master]: socker: Remove AI_ADDRCONFIG from getaddrinfo flags

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/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Aug 25 11:12:37 UTC 2020


pespin has uploaded this change for review. ( 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 environemnt 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/12/19812/1

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: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200825/e1476fff/attachment.htm>


More information about the gerrit-log mailing list