summaryrefslogtreecommitdiff
path: root/lib/ns.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-11-16 16:14:45 -0200
committerRenato Westphal <renato@opensourcerouting.org>2016-11-25 11:46:06 -0200
commit705e86f06eaea9676099f5a32cbed5599ae474c6 (patch)
treee57d2e3f64ace966f55b7591f90e3609b99e087a /lib/ns.c
parent8578874d6922538fd7f13dce74db488569446993 (diff)
ripngd: implement optional heuristic suggested by RFC 2080
RFC 2080 - Section 2.4.2: "If the new metric is the same as the old one, examine the timeout for the existing route. If it is at least halfway to the expiration point, switch to the new route. This heuristic is optional, but highly recommended". Implement this optional heuristic only when ECMP is disabled globally ("no allow-ecmp"), otherwise all routes with the same metric should be used. Fixes IxANVL RIPng test 7.21. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/ns.c')
0 files changed, 0 insertions, 0 deletions