commit | e04a14d9a23ed42178c405cb0c0afb9a2d2b93ab | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@gnumonks.org> | Mon Jan 14 00:12:28 2013 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jan 15 20:06:39 2013 +0100 |
tree | 2ea833b125c38fa2cb39e350679452da47297056 | |
parent | 06ddf8bd24ae1104f77498d4cd0c766c164d4525 [diff] |
socket: fix osmo_sock_init with SOCK_RAW and IPPROTO_RAW getaddrinfo returns EAI_SERVICE (-8) if that combination is used. More information available in here: http://sourceware.org/bugzilla/show_bug.cgi?id=15015 Reported by Holger Hans Peter Freyther. While at it, this patch also removes hints.ai_flags = 0 as memset to zero already happened just a bit before that.