Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2021 12:04:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260314] ping6: faulty "-4 and -6 cannot be used simultaneously" error on "ping6 -c4 localhost"
Message-ID:  <bug-260314-227-7c2GjOkgU1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260314-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260314-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260314

--- Comment #1 from Franco Fichtner <franco@opnsense.org> ---
The parsing of trying to validate -4 against -6 is so lax that this trigger=
s 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260314-227-7c2GjOkgU1>