1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
freebsd/sbin/ping
Dag-Erling Smørgrav b53ae8a833 ping: Fix protocol selection with NOINET6 kernel.
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.
Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D44304
2024-03-12 20:40:36 +01:00
..
tests sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
main.c ping: Fix protocol selection with NOINET6 kernel. 2024-03-12 20:40:36 +01:00
main.h ping: Unify ping/ping6 statistics section 2023-10-11 13:48:28 -04:00
Makefile sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ping6.c ping(8): Fix typo in ping6.c 2024-02-13 12:29:07 +08:00
ping6.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ping.8 sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
ping.c Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ping.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.c Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
utils.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00