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

Joachim Nilsson joachim.nilsson at vmlinux.org
Sun Nov 21 00:21:12 UTC 2010


Hi, maybe someone else is also interested in this.

I was testing multicast routing (pimd) on a server today and needed a
very simple multicast generator.  Calling BusyBox "ping 225.1.2.3" sends
out a neat UDP multicast stream of one packet per second, simple enough
for my purposes.  However, for multicast ICMP_ECHO defaults to a TTL of
1, whereas unicast gets 64.  Hence this little patch.

Regards
 /Joachim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-weos-ping-ttl.patch
Type: text/x-patch
Size: 4074 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101121/c454ca2c/attachment-0001.bin>


More information about the busybox mailing list