Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
divyachandralekha committed Nov 28, 2024
1 parent 080f02d commit 20b2266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orchagent/p4orch/tests/mock_sai_stp.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ class MockSaiStp {
// Global mock object for SAI STP APIs
MockSaiStp *mock_sai_stp;

sai_status_t mock_create_stp(_Out_ sai_object_id_t *stp_instance_id,
sai_status_t (_Out_ sai_object_id_t *stp_instance_id,
_In_ sai_object_id_t switch_id,
_In_ uint32_t attr_count,
_In_ const sai_attribute_t *attr_list)
{
std::cout << "mock_sai_stp->create_stp" << std::endl;
return mock_sai_stp->create_stp(stp_instance_id, switch_id, attr_count, attr_list);
}

Expand Down

0 comments on commit 20b2266

Please sign in to comment.