
On 02/27/2015 07:18 PM, Scott Allen wrote:
Try it. I have, with ping, browsers and ssh. They all require the interface to be specified. But it's only a requirement because that's the way those programs were written. I could write a new version of ping6, or any other program,
On 27 February 2015 at 19:01, James Knott <james.knott@rogers.com> wrote: that first checked if there was only one interface and, if so, didn't require the user to specify it. I could also write a ping6 version that tried each interface until it got a response.
So, like I said it's a convention, not a requirement.
BTW, the %<interface> format is a standard and can also be used with ping6 instead of -I.
Then you'd have to worry about different ways of using those apps when there's one or more than one interface. Right now, you have to specify the interface no matter how many there are. And yes I know about % with ping6, but -I is listed in the man page.