Page MenuHomeFreeBSD

ping: Fix protocol selection with NOINET6 kernel.
ClosedPublic

Authored by des on Mar 11 2024, 3:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 1:13 AM
Unknown Object (File)
Nov 25 2024, 7:44 AM
Unknown Object (File)
Nov 22 2024, 2:51 PM
Unknown Object (File)
Nov 21 2024, 2:55 PM
Unknown Object (File)
Nov 20 2024, 12:42 PM
Unknown Object (File)
Nov 20 2024, 9:07 AM
Unknown Object (File)
Nov 7 2024, 5:43 PM
Unknown Object (File)
Oct 18 2024, 9:38 AM
Subscribers

Details

Summary

A missing else caused the correct resolver hint (AF_INET) to be
overwritten with AF_UNSPEC when the kernel supports IPv4 but not
IPv6.

MFC after: 3 days
PR: 277592
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable