summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_topology.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-04-27 04:10:33 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-27 04:10:33 +0200
commit838cf8aba548d8fae9ddfb4313dd361f1047865a (patch)
treea0a6410a6073014c9b45a95ff8b4563e767eb639 /eigrpd/eigrp_topology.c
parenteigrpd: Add missing eigrp_fsm.h to 'make dist' (diff)
downloadfrr-838cf8aba548d8fae9ddfb4313dd361f1047865a.tar.xz
frr-838cf8aba548d8fae9ddfb4313dd361f1047865a.zip
eigrpd: Switch u_int64_t -> uint64_t
Apparently u_int64_t is not available (or we don't pull the right headers in for solaris based systems ). 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 c2f420090..25beb63e8 100644
--- a/eigrpd/eigrp_topology.c
+++ b/eigrpd/eigrp_topology.c
@@ -464,7 +464,7 @@ eigrp_topology_update_node_flags(struct eigrp_prefix_entry *dest)
for (ALL_LIST_ELEMENTS_RO(dest->entries, node, entry))
{
- if ((entry->distance <= (u_int64_t)(dest->distance*eigrp->variance)) &&
+ if ((entry->distance <= (uint64_t)(dest->distance*eigrp->variance)) &&
entry->distance != EIGRP_MAX_METRIC) // is successor
{
entry->flags |= EIGRP_NEIGHBOR_ENTRY_SUCCESSOR_FLAG;