Skip to content

Commit

Permalink
bgpd: backpressure - remove benign null check
Browse files Browse the repository at this point in the history
Signed-off-by: Chirag Shah <[email protected]>
  • Loading branch information
chiragshah6 committed Jun 17, 2024
1 parent 07d17f9 commit 851b87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_zebra.c
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@ void bgp_zebra_route_install(struct bgp_dest *dest, struct bgp_path_info *info,
struct bgp_table *table = NULL;

table = bgp_dest_table(dest);
if (table && table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
if (table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
is_evpn = true;

/*
Expand Down

0 comments on commit 851b87c

Please sign in to comment.