[Toybox] [PATCH] ping: fix -q behavior.

enh enh at google.com
Mon Jul 9 14:49:45 PDT 2018


On Fri, Jul 6, 2018 at 6:16 PM Rob Landley <rob at landley.net> wrote:
>
> On 07/06/2018 03:19 PM, enh wrote:
> > they said they'd be much more worried about whether we use IP_RECVERR
> > and parse ICMP errors correctly,
>
> I don't think we do but I'll throw it on the todo heap. I'm not 100% sure what
> "correctly" means here, but I can try to research it.
>
> > or do link-local ping correctly...
>
> Again, define "correctly"...?
>
> (I can ping ::1 and ping 127.0.0.1 but I dunno if it's doing something wrong?)

https://en.wikipedia.org/wiki/Link-local_address#IPv6

try `ifconfig -a | grep link` and then compare `ping6 $that_address`
(which should fail) against `ping6 -I $that_interface $that_address`
and `ping6 $that_address%$that_interface`.

> Rob
>
>



More information about the Toybox mailing list