]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix processing of redistribute messages
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 6 Oct 2016 13:38:55 +0000 (10:38 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 18 Oct 2016 12:51:24 +0000 (08:51 -0400)
commit4e1cadf011e484ff865e0e54ce51adc32d1590e3
treeaa1ce437633741ea61e0154ca60d7f66efcb14c6
parentfbf4aeaae6cb001a4b2ae1a8a4b28812d7910da7
zebra: fix processing of redistribute messages

We should not check/modify client->redist[] when the requested instance
is different than zero.

In the same way, we should not check/modify client->mi_redist[] when
the requested instance is zero.

Failure to respect these conditions can lead to unexpected behavior in
the client daemons.

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