]> git.proxmox.com Git - mirror_frr.git/commit - lib/zclient.c
lib: fix checking of clients subscribed to receive default routes
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 18 Jan 2019 18:06:00 +0000 (16:06 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 18 Jan 2019 18:06:00 +0000 (16:06 -0200)
commitd763789879c109b03d6aaa7c43eadd7f5fce4d4e
tree10d728a48b1a6f08d708e6ebf23c9f9ef7ffc006
parentf20b478ef3d25e153939516a473bb2e80603cbd5
lib: fix checking of clients subscribed to receive default routes

In these two functions, we were using VRF_DEFAULT instead of the
VRF ID passed as a parameter when checking if the given client
subscribed to receive default routes or not. This prevented the
"default-originate" command from ospfd/isisd from working correctly
under specific circumstances.

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