Bugzilla – Bug 1874
Ipv4L3Protocol::ProcessFragment: addressCombination and idProto identifiers not properly computed
Last modified: 2014-03-07 16:34:36 UTC
Created attachment 1796 [details] fix-ProcessFragment In ip4v-l3-protcol.cc, line 1293 uint64_t addressCombination = uint64_t (ipHeader.GetSource ().Get ()) << 32 & uint64_t (ipHeader.GetDestination ().Get ()); uint32_t idProto = uint32_t (ipHeader.GetIdentification ()) << 16 & uint32_t (ipHeader.GetProtocol ()); These operations should use a logical OR (|) instead of AND (&) otherwise the result is always zero. Patch attached.
You're totally right. Pushed in changeset: 10646:a68b000ae77b