summaryrefslogtreecommitdiffstats
path: root/ffd/ffd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffd/ffd.c')
-rw-r--r--ffd/ffd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffd/ffd.c b/ffd/ffd.c
index ccba14d..5817106 100644
--- a/ffd/ffd.c
+++ b/ffd/ffd.c
@@ -341,19 +341,19 @@ static void handle_tlv_update(const ffd_tlv_update_t *tlv_update, size_t len, ha
ffd_announce_t *announce = get_announce(&arg->node_id, ntohs(tlv_update->type), ntohs(tlv_update->key));
ffd_metric_seqno_t ms = { ntohs(tlv_update->metric), ntohs(tlv_update->seqno) };
- bool feasable = ffd_is_feasable(announce, ms);
+ bool feasible = ffd_is_feasible(announce, ms);
ffd_neigh_t *neigh = get_tlv_neigh(arg);
ffd_nexthop_t *nexthop = find_nexthop(announce, neigh);
if (!nexthop) {
- if (!feasable || tlv_update->metric == 0xffff /* no need to ntohs */)
+ if (!feasible || tlv_update->metric == 0xffff /* no need to ntohs */)
return;
nexthop = new_nexthop(announce, neigh);
}
else {
- if (!feasable && nexthop == announce->selected)
+ if (!feasible && nexthop == announce->selected)
return;
}