Skip to content

Commit

Permalink
Merge pull request FRRouting#14940 from chiragshah6/fdev2
Browse files Browse the repository at this point in the history
bgpd: check bgp evpn instance presence in soo
  • Loading branch information
ton31337 authored Dec 5, 2023
2 parents 3f4c682 + 7d168d9 commit c1cab07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_evpn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3628,7 +3628,7 @@ static bool bgp_evpn_route_matches_macvrf_soo(struct bgp_path_info *pi,
struct ecommunity *macvrf_soo;
bool ret = false;

if (!bgp_evpn->evpn_info)
if (!bgp_evpn || !bgp_evpn->evpn_info)
return false;

/* We only stamp the mac-vrf soo on routes from our local L2VNI.
Expand Down

0 comments on commit c1cab07

Please sign in to comment.