浏览代码

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

w00485423 3 周之前
父节点
当前提交
fdcb0a207b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Cedar/Layer3.c

+ 2 - 2
src/Cedar/Layer3.c

@@ -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);
 	}