diff --git a/meta/tests.cpp b/meta/tests.cpp index 5d2d0bd3b0f9..00d14a3ab8b8 100644 --- a/meta/tests.cpp +++ b/meta/tests.cpp @@ -2472,7 +2472,7 @@ void test_route_entry_get() META_ASSERT_SUCCESS(status); SWSS_LOG_NOTICE("zero attribute count"); - attr.id = SAI_NEIGHBOR_ENTRY_ATTR_PACKET_ACTION; + attr.id = SAI_ROUTE_ENTRY_ATTR_PACKET_ACTION; status = meta_sai_get_route_entry(&route_entry, 0, &attr, &dummy_success_sai_get_route_entry); META_ASSERT_FAIL(status); @@ -2598,7 +2598,7 @@ void test_route_entry_flow() SWSS_LOG_NOTICE("set tests"); SWSS_LOG_NOTICE("correct packet action"); - attr.id = SAI_NEIGHBOR_ENTRY_ATTR_PACKET_ACTION; + attr.id = SAI_ROUTE_ENTRY_ATTR_PACKET_ACTION; attr.value.s32 = SAI_PACKET_ACTION_DROP; status = meta_sai_set_route_entry(&route_entry, &attr, &dummy_success_sai_set_route_entry); META_ASSERT_SUCCESS(status);