[Toybox] [PATCH] Fix address family help text

Rob Landley rob at landley.net
Sat May 16 16:23:50 PDT 2020


On 5/16/20 5:39 AM, Eric Molitor wrote:
> ---
>  toys/pending/route.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/toys/pending/route.c b/toys/pending/route.c
> index 1fd3b55f..b4e7ea0d 100644
> --- a/toys/pending/route.c
> +++ b/toys/pending/route.c
> @@ -17,7 +17,7 @@ config ROUTE
>    bool "route"
>    default n
>    help
> -    usage: route [-ne] [-A [46]] [add|del TARGET [OPTIONS]]
> +    usage: route [-ne] [-A [inet|inet6]] [add|del TARGET [OPTIONS]]
>  
>      Display, add or delete network routes in the "Forwarding Information Base".

Sigh. The ping stuff isn't two completely unrelated codepaths to support ipv6,
it autodetects based on the address you specify, and only lets you specify to
force name lookups to use a category when there are multiple responses (and
abort when it hasn't got that type).

And yes, I tested "ping -I 127.0.0.1 ::1" and such first thing:

  https://landley.net/notes-2017.html#16-07-2017

(And doing proper tests/ping.test is one of the things I hope "make root tests"
lets me do...)

Applied, but there are a number of reasons route is still in pending and this
doesn't move it _towards_ getting out. :)

Rob



More information about the Toybox mailing list