[PATCH] ping.c: Add -t TTL support

Joachim Nilsson joachim.nilsson at vmlinux.org
Mon Nov 29 15:32:25 UTC 2010


On 11/29/2010 12:08 PM, Denys Vlasenko wrote:
> On Mon, Nov 29, 2010 at 9:32 AM, Joachim Nilsson <joachim.nilsson at vmlinux.org> wrote:
>> On 11/28/2010 11:04 PM, Denys Vlasenko wrote:
>>> I changed IP_MULTICAST_TTL to IP_TTL that in your patch and applied it.
>>> Please test current git and let me know if it doesn't work for you.
>> Sorry, does not work. I modeled the code after netkit ping, which only
>> sets the IP_MULTICAST_TTL. It seems the IP_TTL sockopt does not bite for
>> multicast destination addresses, only unicast.
> I added setting of IP_MULTICAST_TTL too, please try now

Yep, that works better. Thanks! :-)

Regards
 /Joachim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: joachim_nilsson.vcf
Type: text/x-vcard
Size: 161 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101129/91263ebe/attachment.vcf>


More information about the busybox mailing list