Skip to content

Commit

Permalink
Merge pull request #18116 from FRRouting/mergify/bp/stable/10.2/pr-18069
Browse files Browse the repository at this point in the history
bgpd: Request SRv6 locator after zebra connection (backport #18069)
  • Loading branch information
donaldsharp authored Feb 12, 2025
2 parents 5a18943 + ea595f9 commit b58aa21
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bgpd/bgp_zebra.c
Original file line number Diff line number Diff line change
Expand Up @@ -2314,6 +2314,13 @@ void bgp_zebra_instance_register(struct bgp *bgp)
bgp_zebra_advertise_all_vni(bgp, 1);

bgp_nht_register_nexthops(bgp);

/*
* Request SRv6 locator information from Zebra, if SRv6 is enabled
* and a locator is configured for this BGP instance.
*/
if (bgp->srv6_enabled && bgp->srv6_locator_name[0] != '\0' && !bgp->srv6_locator)
bgp_zebra_srv6_manager_get_locator(bgp->srv6_locator_name);
}

/* Deregister this instance with Zebra. Invoked upon the instance
Expand Down

0 comments on commit b58aa21

Please sign in to comment.