Subject: Re: how to get FreeBSD ping.c into NetBSD?
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-net
Date: 11/22/2006 20:03:51
In article <20061122175053.GY11631@greenie.muc.de>,
Gert Doering  <gert@greenie.muc.de> wrote:
>Hi,
>
>On Wed, Nov 22, 2006 at 11:27:55AM -0600, David Young wrote:
>> Gert,
>> 
>> ping -I does what you want, however, you wouldn't know it from reading
>> the manual page:
>> 
>>      -I ifaddr
>>              Send multicast datagrams on the network interface specified by
>>              the interface's hostname or IP address.
>
>Indeed.  *surprise*.
>
>Hmmm.   The FreeBSD man page has a "-I", which is *only* for multicast...
>
>     -I interface
>             Source multicast packets with the given interface address.  This
>             flag only applies if the ping destination is a multicast address.
>
>... so I admit I didn't try NetBSD's "-I" in the first place (after
>having read the sentence about "multicast datagrams").
>
>
>So how to fix it?  "Find out what the available options really do and
>update the man page"?
>
>gert

Sure, that would be nice.

christos