]> 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>
Wed, 12 Dec 2018 16:16:36 +0000 (17:16 +0100)
commit14976c773acd2104241e96421d9056682c34ca56
treedab69afb96f48bdf102335864aa939da2f3baa1b
parentb59e5b814e7a12d075b0321abfa9095183df85aa
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