summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_topology.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-20 01:21:47 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-20 01:24:10 +0100
commit03f0bd35e267a6e2cac41011d574ef790455c22d (patch)
tree6d378acb470588b2b5f1ee6d1f40f05a7a1dff0e /eigrpd/eigrp_topology.c
parentMerge remote-tracking branch 'origin/master' into EIGRP (diff)
downloadfrr-03f0bd35e267a6e2cac41011d574ef790455c22d.tar.xz
frr-03f0bd35e267a6e2cac41011d574ef790455c22d.zip
eigrpd: Fix communication w/ Zebra
We were not properly sending data to zebra for route installation. I removed the metric installation because I am not sure if we've actually been passed the metric to install. if we need it it can be added back in later. Additionally cleaned up some silliness in eigrp_topology.c Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_topology.c')
-rw-r--r--eigrpd/eigrp_topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_topology.c b/eigrpd/eigrp_topology.c
index c8b53515b..5d45e03bd 100644
--- a/eigrpd/eigrp_topology.c
+++ b/eigrpd/eigrp_topology.c
@@ -330,9 +330,9 @@ struct list *
eigrp_topology_get_successor(struct eigrp_prefix_entry *table_node)
{
struct list *successors = list_new();
- ;
struct eigrp_neighbor_entry *data;
struct listnode *node1, *node2;
+
for (ALL_LIST_ELEMENTS(table_node->entries, node1, node2, data))
{
if (data->flags & EIGRP_NEIGHBOR_ENTRY_SUCCESSOR_FLAG)