netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ping6: why TTL instead of Hop Limit?
@ 2012-01-07 18:07 Dan Luedtke
  2012-01-07 23:33 ` Hagen Paul Pfeifer
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Luedtke @ 2012-01-07 18:07 UTC (permalink / raw)
  To: netdev

Hello everyone,

I was just wondering why there is a TTL-field in ping6, although the
corresponding field in the IPv6 header is called "Hop Limit". [1]

Example:
> ping6 -c 1 www.linux-ipv6.org
> 64 bytes from 2001:200:dff:fff1:216:3eff:fea4:f9e9: icmp_seq=1 ttl=48 time=309 ms

What I expected:
> 64 bytes from 2001:200:dff:fff1:216:3eff:fea4:f9e9: icmp_seq=1 hl=48 time=309 ms

Anyone an idea?
Should I write a patch or is there a special reason for this?

best regards,
Dan

[1] RFC 2460, 3.  IPv6 Header Format, page 4,
http://tools.ietf.org/html/rfc2460#page-4
-- 
Dan Luedtke
http://www.danrl.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ping6: why TTL instead of Hop Limit?
  2012-01-07 18:07 ping6: why TTL instead of Hop Limit? Dan Luedtke
@ 2012-01-07 23:33 ` Hagen Paul Pfeifer
  0 siblings, 0 replies; 2+ messages in thread
From: Hagen Paul Pfeifer @ 2012-01-07 23:33 UTC (permalink / raw)
  To: Dan Luedtke; +Cc: netdev

* Dan Luedtke | 2012-01-07 19:07:03 [+0100]:

>I was just wondering why there is a TTL-field in ping6, although the
>corresponding field in the IPv6 header is called "Hop Limit". [1]
>
>Example:
>> ping6 -c 1 www.linux-ipv6.org
>> 64 bytes from 2001:200:dff:fff1:216:3eff:fea4:f9e9: icmp_seq=1 ttl=48 time=309 ms
>
>What I expected:
>> 64 bytes from 2001:200:dff:fff1:216:3eff:fea4:f9e9: icmp_seq=1 hl=48 time=309 ms
>
>Anyone an idea?
>Should I write a patch or is there a special reason for this?

Sorry, to late! You will break scripts/programms that parse ping6.

Hagen

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-07 23:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-07 18:07 ping6: why TTL instead of Hop Limit? Dan Luedtke
2012-01-07 23:33 ` Hagen Paul Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).