mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-06 04:49:19 +00:00
Fix bug causing vector removal to skip elements
This commit is contained in:
@ -49,6 +49,7 @@ namespace NetworkARP
|
||||
netdbg("Removed %s from discovered addresses", IP.v4.ToStringLittleEndian());
|
||||
delete tmp, tmp = nullptr;
|
||||
DiscoveredAddresses.remove(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
|
Reference in New Issue
Block a user