Skip to content

Commit 6cb43ee

Browse files
authored
[p4orch] Fix handlePortStatusChangeNotification status deserialize (#2111)
*Moved sai_deserialize_free_port_oper_status_ntf(count, port_oper_status); call outside the loop iterating port_oper_status array. Signed-off-by: Volodymyr Boyko <[email protected]>
1 parent 863f0f1 commit 6cb43ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orchagent/p4orch/p4orch.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ void P4Orch::handlePortStatusChangeNotification(const std::string &op, const std
171171
{
172172
m_wcmpManager->pruneNextHops(port.m_alias);
173173
}
174-
175-
sai_deserialize_free_port_oper_status_ntf(count, port_oper_status);
176174
}
175+
176+
sai_deserialize_free_port_oper_status_ntf(count, port_oper_status);
177177
}
178178
}
179179

0 commit comments

Comments
 (0)