From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 577993858039; Mon, 3 Jul 2023 11:13:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 577993858039 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688382815; bh=4bsTcKiMYcpIV8IDJDtgA5n5kkPi4jPsuk5jvJxB2e0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uYnsWy2NRv/kagBLtamd5426L1W6VO5hDaJCNeqHvCyKlklcNxcCOgWynGtfYjJup FDJjMfzpKEFNdqcZlyGviVgfhA1Damq2T+j+XE4DnvOq26Eq0+LBa9yzP/TNp3rCrv oJdL9Zn/1YtBB3185BXuLV1gNJ6u4YE97vfW5784= From: "pemensik at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/30544] [RFE] Make getaddrinfo() with hints ai_flags==AF_UNSPEC query only AF present on the system Date: Mon, 03 Jul 2023 11:13:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pemensik at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30544 --- Comment #1 from Petr Men=C5=A1=C3=ADk --- Created some changes for a test: https://github.com/InfrastructureServices/glibc/tree/gai-ipv4-ipv6 But it seems to me instead of gaih_getanswer_noaaaa answer, it should use j= ust _nss_dns_gethostbyname3_r with proper AF. That is when only one of flags is used. --=20 You are receiving this mail because: You are on the CC list for the bug.=