[Click] Bug in ip6encap + patch

Erwin Van de Velde erwin.vandevelde at ua.ac.be
Wed May 11 10:31:12 EDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip6encap.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20110511/6f87edfa/attachment.bin 


More information about the click mailing list