]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ping: fix ping when the kernel was built without INET6
authorAlan Somers <asomers@FreeBSD.org>
Fri, 1 Jan 2021 17:25:49 +0000 (10:25 -0700)
committerAlan Somers <asomers@FreeBSD.org>
Fri, 1 Jan 2021 17:25:49 +0000 (10:25 -0700)
commitb586c66baf4824d175d051b3f5b06588c9aa2bc8
treeadab37f1f665b5d2e1e477274750cbfc945eb780
parent92bbfe1f0d1f1c4436d1f064a16e5aaf682526ba
ping: fix ping when the kernel was built without INET6

If the kernel was built without INET6, default to ICMP.  Or, if it was
built without INET, default to ICMPv6.

PR: 251725
Reported by: jbeich
Reviewed by: jbeich
Tested by: jbeich
MFC with: 368045
sbin/ping/main.c