]> git.puffer.fish Git - matthieu/frr.git/commit
zserv: always send all information about each route
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 21 Sep 2016 16:38:34 +0000 (13:38 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Sep 2016 13:31:22 +0000 (09:31 -0400)
commit7fe041ac83786e9014460a69296591d7981763f6
tree09e1f97df5cac085daf8681480af1eecf4a98def
parente64f3c323bf176544c5d0cac9a9d55fc4510972a
zserv: always send all information about each route

Most routing daemons are not interested in certain pieces of information
when a redistributed route is being removed, like its metric and distance.

ldpd, in the other hand, needs to know the distance of the removed routes
in order to work properly. Now, instead of adding another exception in
zserv's code for ldpd, let's make zebra always send all information
about each route to its clients, independently if the route is being
added or removed. This is ok because all daemons are already prepared
to process these additional fields when the appropriate flags are set
in the zebra messages.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zserv.c