Skip to content

Commit

Permalink
follow #14183
Browse files Browse the repository at this point in the history
  • Loading branch information
Sokichi Takada committed Oct 5, 2023
1 parent 0be51ee commit e36b088
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions zebra/zebra_routemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1608,10 +1608,10 @@ static enum route_map_cmd_result_t
route_set_initcwnd(void *rule, const struct prefix *prefix, void *object)
{
uint32_t initcwnd = *(uint32_t *)rule;
struct nh_rmap_obj *nh_data;
struct zebra_rmap_obj rm_obj;

nh_data = (struct nh_rmap_obj *)object;
nh_data->nexthop->initcwnd = initcwnd;
rm_data = (struct zebra_rmap_obj *)object;
rm_data->nexthop->initcwnd = initcwnd;

return RMAP_OKAY;
}
Expand Down Expand Up @@ -1660,10 +1660,10 @@ route_set_initrwnd(void *rule, const struct prefix *prefix, void *object)
{
uint32_t initrwnd = *(uint32_t *)rule;

struct nh_rmap_obj *nh_data;
struct zebra_rmap_obj rm_obj;

nh_data = (struct nh_rmap_obj *)object;
nh_data->nexthop->initrwnd = initrwnd;
rm_data = (struct zebra_rmap_obj *)object;
rm_data->nexthop->initrwnd = initrwnd;

return RMAP_OKAY;
}
Expand Down

0 comments on commit e36b088

Please sign in to comment.