Skip to content

Commit 72ce90a

Browse files
authored
Merge pull request #18403 from FRRouting/mergify/bp/stable/10.1/pr-18387
bgpd: Fixed crash upon bgp network import-check command (backport #18387)
2 parents 68eaba5 + 9c73aab commit 72ce90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bgpd/bgp_route.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6836,7 +6836,7 @@ void bgp_static_update(struct bgp *bgp, const struct prefix *p,
68366836
&pi->extra->labels->label[0]);
68376837
}
68386838
#endif
6839-
if (pi->extra && pi->extra->vrfleak->bgp_orig)
6839+
if (pi->extra && pi->extra->vrfleak && pi->extra->vrfleak->bgp_orig)
68406840
bgp_nexthop = pi->extra->vrfleak->bgp_orig;
68416841

68426842
bgp_nexthop_reachability_check(afi, safi, pi, p, dest,

0 commit comments

Comments
 (0)