diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2017-08-26 15:51:43 -0400 | 
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2017-08-26 15:55:29 -0400 | 
| commit | cd6c573c697897dd73fb4bffeb176940af4582c2 (patch) | |
| tree | a7bc58b305210dc601ae6a54341413f28708cce6 /eigrpd/eigrp_interface.c | |
| parent | c3f779dc1ab632b1ba74bf16c39dc2f18e6187bc (diff) | |
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>
Diffstat (limited to 'eigrpd/eigrp_interface.c')
| -rw-r--r-- | eigrpd/eigrp_interface.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/eigrpd/eigrp_interface.c b/eigrpd/eigrp_interface.c index ae9ec293ce..aa59516002 100644 --- a/eigrpd/eigrp_interface.c +++ b/eigrpd/eigrp_interface.c @@ -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;  | 
