[Click] Bug in ip6encap + patch

Eddie Kohler kohler at cs.ucla.edu
Wed May 11 11:04:37 EDT 2011


Wow, great catch!  Applied.  I'm actually going to apply some more changes, 
since it looks like Click's click_ip6 structure has an old definition that has 
become obsolete.

Eddie



On 5/11/11 7:31 AM, Erwin Van de Velde wrote:
> Dear all,
>
> I have found a bug in the ip6encap element. The element sets the IP version
> and flags first and then the flow label, which is only 20 bits, but stored in
> a uint32_t. In this order the IP version and flags are overwritten, so I
> reordered them, as is found in other elements. Please find attached a patch
> against the latest git version of ip6encap.cc .
>
> Best regards,
> Erwin
>
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list