diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-27 04:10:33 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-27 04:10:33 +0200 |
commit | 838cf8aba548d8fae9ddfb4313dd361f1047865a (patch) | |
tree | a0a6410a6073014c9b45a95ff8b4563e767eb639 /eigrpd/eigrp_topology.c | |
parent | eigrpd: Add missing eigrp_fsm.h to 'make dist' (diff) | |
download | frr-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.c | 2 |
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; |