Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: Abstract
dplane_ctx_route_init
to init route without copying
The function `dplane_ctx_route_init` initializes a dplane route context from the route object passed as an argument. Let's abstract this function to allow initializing the dplane route context without actually copying a route object. This allows us to use this function for initializing a dplane route context when we don't have any route to copy in it. Signed-off-by: Carmine Scarpitta <[email protected]>
- Loading branch information