1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-11-19 18:01:33 +03:00

fix: #2166 L3KnownArp, delete entry from the incorrect list

This commit is contained in:
w00485423
2025-10-10 21:20:30 +08:00
parent 564d2f84b4
commit fdcb0a207b

View File

@ -457,10 +457,10 @@ void L3KnownArp(L3IF *f, UINT ip, UCHAR *mac)
// Delete an ARP query entry to this IP address // Delete an ARP query entry to this IP address
Zero(&t, sizeof(t)); Zero(&t, sizeof(t));
t.IpAddress = ip; t.IpAddress = ip;
w = Search(f->IpWaitList, &t); w = Search(f->ArpWaitTable, &t);
if (w != NULL) if (w != NULL)
{ {
Delete(f->IpWaitList, w); Delete(f->ArpWaitTable, w);
Free(w); Free(w);
} }