summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_route.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-08-20 21:19:07 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-08-23 18:58:35 -0300
commit5afa1c6be2b538c2beea713420c0e41e4b49c536 (patch)
tree78783518a93f0681e0893961e0b861b08367fa36 /ospf6d/ospf6_route.h
parent5fef910e7121b655ef50f12398c2766bde12b6ac (diff)
ospf6d: use the new API to send routes to zebra
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_route.h')
-rw-r--r--ospf6d/ospf6_route.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_route.h b/ospf6d/ospf6_route.h
index 166074fb70..9eacadbdb7 100644
--- a/ospf6d/ospf6_route.h
+++ b/ospf6d/ospf6_route.h
@@ -22,6 +22,7 @@
#define OSPF6_ROUTE_H
#include "command.h"
+#include "zclient.h"
#define OSPF6_MULTI_PATH_LIMIT 4
@@ -266,8 +267,7 @@ extern int ospf6_num_nexthops(struct list *nh_list);
extern int ospf6_route_cmp_nexthops(struct ospf6_route *a,
struct ospf6_route *b);
extern void ospf6_route_zebra_copy_nexthops(struct ospf6_route *route,
- ifindex_t *ifindices,
- struct in6_addr **addr,
+ struct zapi_nexthop nexthops[],
int entries);
extern int ospf6_route_get_first_nh_index(struct ospf6_route *route);