Skip to content

Commit 39e70cd

Browse files
authored
Fix bulk route api signature (sonic-net#365)
1 parent 15ef685 commit 39e70cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vslib/src/sai_vs_route.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sai_status_t vs_bulk_create_route_entry(
55
_In_ uint32_t object_count,
66
_In_ const sai_route_entry_t *route_entry,
77
_In_ const uint32_t *attr_count,
8-
_In_ const sai_attribute_t *const *attr_list,
8+
_In_ const sai_attribute_t **attr_list,
99
_In_ sai_bulk_op_error_mode_t mode,
1010
_Out_ sai_status_t *object_statuses)
1111
{
@@ -66,7 +66,8 @@ const sai_route_api_t vs_route_api = {
6666
VS_GENERIC_QUAD_API(route_entry)
6767

6868
// TODO: upstream signiture fix to SAI repo
69-
(sai_bulk_create_route_entry_fn)vs_bulk_create_route_entry,
69+
// (sai_bulk_create_route_entry_fn)vs_bulk_create_route_entry,
70+
vs_bulk_create_route_entry,
7071
vs_bulk_remove_route_entry,
7172
vs_bulk_set_route_entry_attribute,
7273
vs_bulk_get_route_entry_attribute,

0 commit comments

Comments
 (0)