diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-03-11 10:55:53 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:37 -0400 |
| commit | 8032b71737520f883abeb1e43476d88cd5a4c304 (patch) | |
| tree | 3358ec95be3409d374868745458956342b92e1bd /zebra/zebra_rib.c | |
| parent | 77a44d94f8d75461dc98fa27a94c8802481ab13e (diff) | |
zebra: Update rib_add to take a nexthop ID
Add a parameter to the rib_add function so that it takes
a nexthop ID from the kernel if one is passed along
with the route.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 1ea11640d7..196d7f1218 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2947,8 +2947,8 @@ void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, int rib_add(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, unsigned short instance, int flags, struct prefix *p, struct prefix_ipv6 *src_p, const struct nexthop *nh, - uint32_t table_id, uint32_t metric, uint32_t mtu, uint8_t distance, - route_tag_t tag) + uint32_t nhe_id, uint32_t table_id, uint32_t metric, uint32_t mtu, + uint8_t distance, route_tag_t tag) { struct route_entry *re; struct nexthop *nexthop; |
