diff options
| author | Renato Westphal <renatowestphal@gmail.com> | 2016-09-28 12:25:17 -0300 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-28 16:05:39 -0400 |
| commit | 134970a2a183d5021a1de42e8eede2fc3aa32e56 (patch) | |
| tree | b5c1edc17d6b49d0d0ebab59776454a1354c48d3 /lib/json.h | |
| parent | 3f67fb9c307c5f83011b3fc2837436881289ecea (diff) | |
ldpd: fix processing of redistributed routes
Commit 5048fe changed the way zebra behave when a route is updated. Now,
whenever a route is changed, zebra advertises its new version without
withdrawing the old one. This patch adapts ldpd to understand this new
behavior. After processing a ZEBRA_REDISTRIBUTE_IPV[46]_ADD message,
we need to check for nexthops that were removed and, for each of them
(if any), withdraw the associated labels from zebra.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/json.h')
0 files changed, 0 insertions, 0 deletions
