]> git.proxmox.com 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, 18 Sep 2018 15:39:20 +0000 (17:39 +0200)
commit61eefcadc72839d8e3dc4fdf09eca82d3ff2a26e
treedaec8a8283472473cd0a31009330497720891dd7
parentf533be73f6e73e7c6c2f2093f4bec59862c08dd6
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