summaryrefslogtreecommitdiffstats
path: root/ldpd/ldpd.h
diff options
context:
space:
mode:
authorRenato Westphal <renatowestphal@gmail.com>2016-09-28 17:25:17 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-28 22:05:39 +0200
commit134970a2a183d5021a1de42e8eede2fc3aa32e56 (patch)
treeb5c1edc17d6b49d0d0ebab59776454a1354c48d3 /ldpd/ldpd.h
parentldpd: make route flags a 32bit field (diff)
downloadfrr-134970a2a183d5021a1de42e8eede2fc3aa32e56.tar.xz
frr-134970a2a183d5021a1de42e8eede2fc3aa32e56.zip
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 'ldpd/ldpd.h')
-rw-r--r--ldpd/ldpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h
index 9601f25f7..b94794208 100644
--- a/ldpd/ldpd.h
+++ b/ldpd/ldpd.h
@@ -117,6 +117,7 @@ enum imsg_type {
IMSG_NEIGHBOR_UP,
IMSG_NEIGHBOR_DOWN,
IMSG_NETWORK_ADD,
+ IMSG_NETWORK_ADD_END,
IMSG_NETWORK_DEL,
IMSG_SOCKET_IPC,
IMSG_SOCKET_NET,