mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #18387 from Manpreet-k0/redo_import_check_crash
bgpd: Fixed crash upon bgp network import-check command
This commit is contained in:
commit
f5a74fc91c
|
@ -7141,7 +7141,7 @@ void bgp_static_update(struct bgp *bgp, const struct prefix *p,
|
|||
&pi->extra->labels->label[0]);
|
||||
}
|
||||
#endif
|
||||
if (pi->extra && pi->extra->vrfleak->bgp_orig)
|
||||
if (pi->extra && pi->extra->vrfleak && pi->extra->vrfleak->bgp_orig)
|
||||
bgp_nexthop = pi->extra->vrfleak->bgp_orig;
|
||||
|
||||
bgp_nexthop_reachability_check(afi, safi, pi, p, dest,
|
||||
|
|
Loading…
Reference in a new issue