diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-05 16:51:44 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-05 16:51:44 +0200 |
commit | 39df74a42847071837dc94237c025ce94451819b (patch) | |
tree | 1f5f48ecd6f7bc3dfaa75d17e7a39c107641a147 /ffd/ffd.c | |
parent | 4cf3389fcf094c095d685a3e9f65a5d1fafff717 (diff) | |
download | ffd-39df74a42847071837dc94237c025ce94451819b.tar ffd-39df74a42847071837dc94237c025ce94451819b.zip |
Fix typo in 'feasible' ...
Diffstat (limited to 'ffd/ffd.c')
-rw-r--r-- | ffd/ffd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |