The command "ping -S dotted.quad hostname" fails on dual-stack hosts
with the confusing message "ping: invalid source address: Name does
not resolve" because IPv6 is selected in preference. If the argument
to -S is numeric (likely), select the corresponding address family,
as if -4 or -6 was specified.
Details
Details
tested manually
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I haven't used atf. I can guess at much of the layout, but don't know how to run it. Is there documentation somewhere?
sbin/ping/tests/ping_test.sh | ||
---|---|---|
80 | Should this not also require ipv4? |