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
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 45647 Build 42535: arc lint + arc unit
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 ↗ | (On Diff #106229) | Should this not also require ipv4? |