Skip to content
Permalink
Browse files

Merge pull request #3362 from pacovn/Coverity_1475469_null_check

bgpd: null check (Coverity 1475469)
  • Loading branch information...
riw777 committed Nov 26, 2018
2 parents 63d3ca2 + 32fbbd9 commit 32bdc40ec460ac78fcfb245e7bba61da2e3d125f
Showing with 2 additions and 0 deletions.
  1. +2 −0 bgpd/bgp_nht.c
@@ -866,6 +866,8 @@ void bgp_nht_register_enhe_capability_interfaces(struct peer *peer)
if (p.family != AF_INET6)
return;
rn = bgp_node_lookup(bgp->nexthop_cache_table[AFI_IP6], &p);
if (!rn)
return;

bnc = bgp_nexthop_get_node_info(rn);
if (!bnc)

0 comments on commit 32bdc40

Please sign in to comment.
You can’t perform that action at this time.