Bugzilla – Bug 1131
Bug in Ipv4L3Protocol::RemoveAddress()
Last modified: 2011-05-11 00:27:21 UTC
Created attachment 1105 [details] Patch for Ipv4L3Protocol::RemoveAddress() in /src/internet-stack/ipv4-interface.cc The method Ipv4L3Protocol::RemoveAddress() in /src/internet-stack/ipv4-interface.cc does not remove the requested address correctly. Given that the iterator is never incremented, the function always removes the address no. 0 of the selected interface. Solution: a simple increment of the iterator seems to solve the problem. A patch is attached below. Regards Andrea Ranieri
You're right. +1
fixed in changeset: ec9edb7731c1 Thanks for posting the patch.