diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2025-03-17 08:15:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-17 08:15:46 -0400 |
| commit | 8eb894420bc62a19a93e2f8c6c5f06101068f3c0 (patch) | |
| tree | 705214cba8696b0db65b55ee1292192a64977ef7 | |
| parent | 18d8e7dbcfb2fe3dffc4e606c9bdef751db40b82 (diff) | |
| parent | 66200f3a48a37816020fd1b2e11d28e5fbb20750 (diff) | |
Merge pull request #18402 from FRRouting/mergify/bp/stable/10.3/pr-18387
bgpd: Fixed crash upon bgp network import-check command (backport #18387)
| -rw-r--r-- | bgpd/bgp_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 39172cc082..678a6caa1a 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -7142,7 +7142,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, |
