diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-03 13:22:48 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-30 17:47:59 -0400 | 
| commit | fe08ba7e1103e6c334fe97b44c43f6762ed7c8f3 (patch) | |
| tree | 96a43faf439e4d06d3fc5ce9024ce65de03b2e17 /ripngd/ripng_zebra.c | |
| parent | 8e1f6512132f37d7318a8eff94c095050b3d971b (diff) | |
bgpd, ripngd: Convert to using new agg_table/route
Switch bgp and ripngd to use the new aggregate table and
route data structures.  This was mainly a search and replace
operation.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripngd/ripng_zebra.c')
| -rw-r--r-- | ripngd/ripng_zebra.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c index 6830e0e926..a8cc9ee128 100644 --- a/ripngd/ripng_zebra.c +++ b/ripngd/ripng_zebra.c @@ -23,7 +23,7 @@  #include "command.h"  #include "prefix.h" -#include "table.h" +#include "agg_table.h"  #include "stream.h"  #include "memory.h"  #include "routemap.h" @@ -37,7 +37,7 @@  struct zclient *zclient = NULL;  /* Send ECMP routes to zebra. */ -static void ripng_zebra_ipv6_send(struct route_node *rp, uint8_t cmd) +static void ripng_zebra_ipv6_send(struct agg_node *rp, uint8_t cmd)  {  	struct list *list = (struct list *)rp->info;  	struct zapi_route api; @@ -100,13 +100,13 @@ static void ripng_zebra_ipv6_send(struct route_node *rp, uint8_t cmd)  }  /* Add/update ECMP routes to zebra. */ -void ripng_zebra_ipv6_add(struct route_node *rp) +void ripng_zebra_ipv6_add(struct agg_node *rp)  {  	ripng_zebra_ipv6_send(rp, ZEBRA_ROUTE_ADD);  }  /* Delete ECMP routes from zebra. */ -void ripng_zebra_ipv6_delete(struct route_node *rp) +void ripng_zebra_ipv6_delete(struct agg_node *rp)  {  	ripng_zebra_ipv6_send(rp, ZEBRA_ROUTE_DELETE);  }  | 
