Bug 1131: Ipv4L3Protocol::RemoveAddress () does not remove correct address

This commit is contained in:
Andrea Ranieri committed 2011-05-10 21:13:39 -07:00
1 parent c088777e03
commit eb41ad47c2
1 file changed
+1
+1
View File
@@ -333,6 +333,7 @@ Ipv4Interface::RemoveAddress (uint32_t index)
return addr;
}
++tmp;
++i;
}
NS_ASSERT_MSG (false, "Address " << index << " not found");
Ipv4InterfaceAddress addr;