Merge pull request #2170 from kanglongwei/branch2

fix: #2166 L3KnownArp, delete entry from the incorrect list
This commit is contained in:
Ilya Shipitsin authored and GitHub committed 2025-10-28 21:44:25 +01:00
commit acbc514b87
1 file changed
+2 -2
+2 -2
View File
@@ -457,10 +457,10 @@ void L3KnownArp(L3IF *f, UINT ip, UCHAR *mac)
// Delete an ARP query entry to this IP address
Zero(&t, sizeof(t));
t.IpAddress = ip;
w = Search(f->IpWaitList, &t);
w = Search(f->ArpWaitTable, &t);
if (w != NULL)
{
Delete(f->IpWaitList, w);
Delete(f->ArpWaitTable, w);
Free(w);
}