[Bug 260314] ping6: faulty "-4 and -6 cannot be used simultaneously" error on "ping6 -c4 localhost"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Dec 2021 12:04:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260314

--- Comment #1 from Franco Fichtner <franco@opnsense.org> ---
The parsing of trying to validate -4 against -6 is so lax that this triggers on
unknown and malformed arguments as well (things that don't actually take
arguments). The most worrisome bug happens on

# ping -c6 localhost

Which pings localhost 6 times as expected, but with ping6 utility instead of
ping (using ::1) as target.


Cheers,
Franco

-- 
You are receiving this mail because:
You are the assignee for the bug.