summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_dump.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-02-03 15:46:31 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-02-03 17:45:08 -0500
commit95fc2ae7911d32056a411c3d0caac5f8b9a628b2 (patch)
tree616f1c944810dd7e6888c744dc019a61f930e154 /eigrpd/eigrp_dump.c
parent0f9bc496479098d88750823e054ad6c372e7aa9f (diff)
eigrpd: Modify from int to boolean for display
Track based upon boolean instead of an int Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_dump.c')
-rw-r--r--eigrpd/eigrp_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eigrpd/eigrp_dump.c b/eigrpd/eigrp_dump.c
index 876e1cac07..6033290914 100644
--- a/eigrpd/eigrp_dump.c
+++ b/eigrpd/eigrp_dump.c
@@ -301,14 +301,14 @@ void show_ip_eigrp_prefix_entry(struct vty *vty, struct eigrp_prefix_entry *tn)
}
void show_ip_eigrp_nexthop_entry(struct vty *vty, struct eigrp *eigrp,
- struct eigrp_nexthop_entry *te, int *first)
+ struct eigrp_nexthop_entry *te, bool *first)
{
if (te->reported_distance == EIGRP_MAX_METRIC)
return;
if (*first) {
show_ip_eigrp_prefix_entry(vty, te->prefix);
- *first = 0;
+ *first = false;
}
if (te->adv_router == eigrp->neighbor_self)