From 39df74a42847071837dc94237c025ce94451819b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 5 Oct 2012 16:51:44 +0200 Subject: Fix typo in 'feasible' ... --- ffd/ffd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ffd/ffd.c') 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; } -- cgit v1.2.3