代码拉取完成,页面将自动刷新
From 1c0e2a125b35ab5fca7f6f4ac9319a3ae71a8ecd Mon Sep 17 00:00:00 2001
From: Rajesh B M <[email protected]>
Date: Mon, 8 Mar 2021 23:29:32 +0530
Subject: [PATCH] agent: reset frame status on message delete
Currently, when the agent state machine transitions out of
DELETE_INFO, it leaves the rcvFrame flag set. This flag should
be cleared since the frame info is no longer considered usable.
Signed-off-by: Rajesh B M <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
---
lldp/rx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lldp/rx.c b/lldp/rx.c
index 9a0c758..f0c8002 100644
--- a/lldp/rx.c
+++ b/lldp/rx.c
@@ -568,6 +568,7 @@ void process_delete_info(struct port *port, struct lldp_agent *agent)
agent->rx.sizein = 0;
agent->rx.remoteChange = true;
+ agent->rx.rcvFrame = false;
return;
}
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。