Skip to content

Commit

Permalink
Merge pull request FRRouting#1054 from dslicenc/eigrp-connected
Browse files Browse the repository at this point in the history
eigrpd: add correct interface metrics when interface comes up
  • Loading branch information
eqvinox authored Aug 27, 2017
2 parents dd192d3 + 6ebc490 commit cb5cbd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eigrpd/eigrp_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ int eigrp_if_up(struct eigrp_interface *ei)
pe->nt = EIGRP_TOPOLOGY_TYPE_CONNECTED;

ne->prefix = pe;
pe->reported_metric = metric;
pe->state = EIGRP_FSM_STATE_PASSIVE;
pe->fdistance = eigrp_calculate_metrics(eigrp, metric);
pe->req_action |= EIGRP_FSM_NEED_UPDATE;
Expand Down

0 comments on commit cb5cbd4

Please sign in to comment.