Skip to content

Commit

Permalink
Update routesync.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
abdosi authored Nov 13, 2024
1 parent adf0e23 commit 5635bbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fpmsyncd/routesync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ RouteSync::RouteSync(RedisPipeline *pipeline) :
catch (const exception &e)
{
cout << "Exception \"" << e.what() << "\" had been thrown in daemon in loading constants.yml" << endl;
route_tag_not_to_appdb = 0xffffffff;
route_tag_fallback_to_default_route = 0xffffffff;
route_tag_not_to_appdb = 0;
route_tag_fallback_to_default_route = 0;
}
}

Expand Down Expand Up @@ -682,7 +682,7 @@ void RouteSync::onRouteMsg(int nlmsg_type, struct nl_object *obj, char *vrf)
struct rtnl_route *route_obj = (struct rtnl_route *)obj;
struct nl_addr *dip;
char destipprefix[IFNAMSIZ + MAX_ADDR_SIZE + 2] = {0};
uint32_t tag = 0;
uint32_t tag = 0xffffffff;
bool route_eligible_for_fallback_to_default_route = false;

if (vrf)
Expand Down

0 comments on commit 5635bbb

Please sign in to comment.