summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-02-03 09:56:20 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-02-03 17:45:08 -0500
commit0f9bc496479098d88750823e054ad6c372e7aa9f (patch)
treeafbcd65d6358c901437c4db3787a06cab446e16c /eigrpd/eigrp_zebra.h
parent41e8603bfab2db06ac0f29bd57e95508bfae6798 (diff)
eigrpd: Modify code to pass down metric to zebra
Modify EIGRP code to pass its used metric down to zebra. Additionally update topotests to pass with these changes. Fixes: #3703 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_zebra.h')
-rw-r--r--eigrpd/eigrp_zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/eigrpd/eigrp_zebra.h b/eigrpd/eigrp_zebra.h
index 1c418dddef..86b337cfe6 100644
--- a/eigrpd/eigrp_zebra.h
+++ b/eigrpd/eigrp_zebra.h
@@ -33,7 +33,8 @@
extern void eigrp_zebra_init(void);
-extern void eigrp_zebra_route_add(struct prefix *, struct list *);
+extern void eigrp_zebra_route_add(struct prefix *, struct list *,
+ uint32_t distance);
extern void eigrp_zebra_route_delete(struct prefix *);
extern int eigrp_redistribute_set(struct eigrp *, int, struct eigrp_metrics);
extern int eigrp_redistribute_unset(struct eigrp *, int);