]> git.puffer.fish Git - mirror/frr.git/commit
zebra: filter zebra messages (label manager)
authorF. Aragon <paco@voltanet.io>
Tue, 4 Sep 2018 12:37:00 +0000 (14:37 +0200)
committerF. Aragon <paco@voltanet.io>
Tue, 4 Sep 2018 15:08:30 +0000 (17:08 +0200)
commitabf8aaebe72fb47451c0ab4eef8d3c8d285d1c92
tree4eb9dc0167a828fa8dc356870dfbe010832f1b26
parent088dc39bc8b5567b473d4875fc9bebf69cbb3fe1
zebra: filter zebra messages (label manager)

This change makes the zebra acting as label manager proxy not to relay non-LM
messages to clients that a zebra acting in non-proxy mode may send to it. Also,
the existing code does not schedule a rcv in case of relay_response_back
returns -1. This patch re-schedules reads on the socket even in case such a
function returns -1 by calling thread_add_read().

Signed-off-by: F. Aragon <paco@voltanet.io>
zebra/label_manager.c