Merge pull request #1102 from donaldsharp/eigrp_compile

eigrp: Fix missing neighbor->nexthop changes?
This commit is contained in:
Renato Westphal 2017-09-05 10:47:48 -03:00 committed by GitHub
commit eb1e453f9a
3 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@ void eigrp_query_receive(struct eigrp *eigrp, struct ip *iph,
* know)*/ * know)*/
if (dest != NULL) { if (dest != NULL) {
struct eigrp_fsm_action_message msg; struct eigrp_fsm_action_message msg;
struct eigrp_neighbor_entry *entry = struct eigrp_nexthop_entry *entry =
eigrp_prefix_entry_lookup(dest->entries, eigrp_prefix_entry_lookup(dest->entries,
nbr); nbr);
msg.packet_type = EIGRP_OPC_QUERY; msg.packet_type = EIGRP_OPC_QUERY;

View File

@ -168,7 +168,7 @@ void eigrp_reply_receive(struct eigrp *eigrp, struct ip *iph,
assert(dest); assert(dest);
struct eigrp_fsm_action_message msg; struct eigrp_fsm_action_message msg;
struct eigrp_neighbor_entry *entry = struct eigrp_nexthop_entry *entry =
eigrp_prefix_entry_lookup(dest->entries, nbr); eigrp_prefix_entry_lookup(dest->entries, nbr);
if (eigrp_update_prefix_apply(eigrp, ei, if (eigrp_update_prefix_apply(eigrp, ei,

View File

@ -258,7 +258,7 @@ static route_map_result_t route_match_metric(void *rule, struct prefix *prefix,
// u_int32_t *metric; // u_int32_t *metric;
// u_int32_t check; // u_int32_t check;
// struct rip_info *rinfo; // struct rip_info *rinfo;
// struct eigrp_neighbor_entry *te; // struct eigrp_nexthop_entry *te;
// struct eigrp_prefix_entry *pe; // struct eigrp_prefix_entry *pe;
// struct listnode *node, *node2, *nnode, *nnode2; // struct listnode *node, *node2, *nnode, *nnode2;
// struct eigrp *e; // struct eigrp *e;