In article <[EMAIL PROTECTED]> (at Tue, 20 Mar 2007 10:27:51 +0200 (EET)), 
Pekka Savola <[EMAIL PROTECTED]> says:

> On Mon, 19 Mar 2007, David Miller wrote:
> > From: Patrick McHardy <[EMAIL PROTECTED]>
> > Date: Mon, 19 Mar 2007 16:27:29 +0100
> >
> >> Mhh actually this looks intentional:
> >>
> >> icmpv6_send and some other output functions do:
> >>    int hlimit;
> >> ...
> >>         if (hlimit < 0)
> >>                 hlimit = dst_metric(dst, RTAX_HOPLIMIT);
> >>         if (hlimit < 0)
> >>                 hlimit = ipv6_get_hoplimit(dst->dev);
> >
> > Yep, negative value has a specific meaning.
> 
> Which seems to indicate that the kernel-internal implementation has a 
> need to store a negative TTL.  Reporting it to the userspace as a 
> negative doesn't seem right though?

I think it is better to fix iproute2 instead, 1) to treat the variable as 
int, or, 2) not to show such variable.

--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to