summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_network.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-26 19:32:06 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-26 19:32:06 -0400
commit255ab9408f6a9d6addd727c5697d4fbd8b6219f1 (patch)
tree2c0ade0c33778a1e70f219414b37355eda85c04a /eigrpd/eigrp_network.c
parent71b52ef23ad7cbf5865f47a6211a77214d8fd321 (diff)
eigrpd: eigrp_neighbor_entry to eigrp_nexthop_entry
The struct 'eigrp_neighbor_entry' really represents a nexthop for a prefix. Rename the structure to better represent what we are representing. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_network.c')
-rw-r--r--eigrpd/eigrp_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_network.c b/eigrpd/eigrp_network.c
index 0cf5bd9bad..c5f4080317 100644
--- a/eigrpd/eigrp_network.c
+++ b/eigrpd/eigrp_network.c
@@ -413,7 +413,7 @@ u_int32_t eigrp_calculate_metrics(struct eigrp *eigrp,
}
u_int32_t eigrp_calculate_total_metrics(struct eigrp *eigrp,
- struct eigrp_neighbor_entry *entry)
+ struct eigrp_nexthop_entry *entry)
{
entry->total_metric = entry->reported_metric;
uint64_t temp_delay = (uint64_t)entry->total_metric.delay