File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2964,12 +2964,10 @@ bool RouteOrch::removeRoutePost(const RouteBulkContext& ctx)
29642964 return true ;
29652965}
29662966
2967- bool RouteOrch::isRouteExists (const IpPrefix& prefix)
2967+ bool RouteOrch::isRouteExists (sai_object_id_t vrf_id, const IpPrefix& prefix)
29682968{
29692969 SWSS_LOG_ENTER ();
29702970
2971- sai_object_id_t & vrf_id = gVirtualRouterId ;
2972-
29732971 sai_route_entry_t route_entry;
29742972 route_entry.vr_id = vrf_id;
29752973 route_entry.switch_id = gSwitchId ;
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ class RouteOrch : public ZmqOrch, public Subject
253253 const NextHopGroupKey getSyncdRouteNhgKey (sai_object_id_t vrf_id, const IpPrefix& ipPrefix);
254254 bool createFineGrainedNextHopGroup (sai_object_id_t &next_hop_group_id, vector<sai_attribute_t > &nhg_attrs);
255255 bool removeFineGrainedNextHopGroup (sai_object_id_t &next_hop_group_id);
256- bool isRouteExists (const IpPrefix& prefix);
256+ bool isRouteExists (sai_object_id_t vrf_id, const IpPrefix& prefix);
257257 bool removeRoutePrefix (const IpPrefix& prefix);
258258
259259 void addLinkLocalRouteToMe (sai_object_id_t vrf_id, IpPrefix linklocal_prefix);
You can’t perform that action at this time.
0 commit comments