diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-03 09:56:20 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-03 17:45:08 -0500 | 
| commit | 0f9bc496479098d88750823e054ad6c372e7aa9f (patch) | |
| tree | afbcd65d6358c901437c4db3787a06cab446e16c /eigrpd/eigrp_zebra.h | |
| parent | 41e8603bfab2db06ac0f29bd57e95508bfae6798 (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.h | 3 | 
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);  | 
