Le vendredi 10 novembre 2006 15:37, vous avez écrit :
> ping6 stopped working for me and several others, presumably with the
> latest package update as i suspect that the following changelog entry
> might be responsible for the new behaviour:
>   * Use IPV6_RECVHOPLIMIT instead of IPV6_HOPLIMIT in ping6 to build
>     with current kernel headers. Closes: #391601

In fact, that change is not directly responsible for the failure, since 
the "new" IPV6_HOPLIMIT value is also unknown to old kernels.

Linux kernel headers namely changed from:
  #define IPV6_HOPLIMIT           8
to:
  #define IPV6_2292HOPLIMIT       8
  #define IPV6_RECVHOPLIMIT       51
  #define IPV6_HOPLIMIT           52

To fix ping6 and tracepath6 with old kernels, you would need to use 
(non-standard) IPV6_2292HOPLIMIT instead of IPV6_HOPLIMIT. IIRC, 
updated upstream version of iputils has some run-time logic to fallback 
to RFC2292 when RFC3542 is not supported.

-- 
Rémi Denis-Courmont

Attachment: pgpnjjoq0fZFu.pgp
Description: PGP signature

Reply via email to