mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 18:44:19 +00:00
eigrpd: add correct interface metrics when interface comes up
Problem noticed where we were not sending the correct metric values to our peers for connected interfaces. Found that we were not storing these values on the structure used to send the update packets. Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
This commit is contained in:
parent
c3f779dc1a
commit
cd6c573c69
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user