summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-08-27 19:21:55 +0200
committerGitHub <noreply@github.com>2017-08-27 19:21:55 +0200
commit3df31ebb0328b4b84fa11d5fbd956dcc30c44dfe (patch)
treea51f02b5cf6613366fc92799aa9db7cfa621e2a7
parentMerge pull request #1046 from qlyoung/fix-cli-ambiguous (diff)
parenteigrpd: add correct interface metrics when interface comes up (diff)
downloadfrr-3df31ebb0328b4b84fa11d5fbd956dcc30c44dfe.tar.xz
frr-3df31ebb0328b4b84fa11d5fbd956dcc30c44dfe.zip
Merge pull request #1054 from dslicenc/eigrp-connected
eigrpd: add correct interface metrics when interface comes up
-rw-r--r--eigrpd/eigrp_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eigrpd/eigrp_interface.c b/eigrpd/eigrp_interface.c
index ae9ec293c..aa5951600 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;