Skip to content

Commit 7b1daf4

Browse files
committed
bgpd: [EVPN GR] Do not notify GR for evpn in non-default VRF
Added a check to not communicate UPDATE_PENDING/UPDATE_COMPLETE for L2VPN EVPN afi-safi in non-default VRF. Signed-off-by: Pooja Jagadeesh Doijode <[email protected]>
1 parent 9d56712 commit 7b1daf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bgpd/bgp_evpn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ int evpn_route_select_install(struct bgp *bgp, struct bgpevpn *vpn,
15041504
*/
15051505
if (CHECK_FLAG(dest->flags, BGP_NODE_SELECT_DEFER)) {
15061506
if (BGP_DEBUG(graceful_restart, GRACEFUL_RESTART))
1507-
zlog_debug("%s: SELECT_DEFER flag set for EVPN route %pRN, dest %p",
1507+
zlog_debug("%s: SELECT_DEFER flag set for EVPN route %pBD, dest %p",
15081508
bgp->name_pretty, dest, dest);
15091509

15101510
return ret;

bgpd/bgp_route.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ int bgp_dest_set_defer_flag(struct bgp_dest *dest, bool delete)
533533
bgp->gr_info[afi][safi].gr_deferred++;
534534
SET_FLAG(dest->flags, BGP_NODE_SELECT_DEFER);
535535
if (BGP_DEBUG(graceful_restart, GRACEFUL_RESTART))
536-
zlog_debug("%s: Defer route %pRN, dest %p", bgp->name_pretty, dest, dest);
536+
zlog_debug("%s: Defer route %pBD, dest %p", bgp->name_pretty, dest, dest);
537537
return 0;
538538
}
539539

0 commit comments

Comments
 (0)