summaryrefslogtreecommitdiff
path: root/bgpd/bgp_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_zebra.c')
-rw-r--r--bgpd/bgp_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c
index dbba1dc71a..5247408f70 100644
--- a/bgpd/bgp_zebra.c
+++ b/bgpd/bgp_zebra.c
@@ -1782,7 +1782,7 @@ static void bgp_handle_route_announcements_to_zebra(struct event *e)
table = bgp_dest_table(dest);
install = CHECK_FLAG(dest->flags, BGP_NODE_SCHEDULE_FOR_INSTALL);
- if (table && table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
+ if (table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
is_evpn = true;
if (BGP_DEBUG(zebra, ZEBRA))