summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-10-06 09:45:27 -0300
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-18 08:51:23 -0400
commit83c6557494a13fb549079eb290f81d4994e28f3f (patch)
tree4ee8dcf7421c6718d5400ad340125207c9306aeb /lib/json.c
parenta695cc7b8089ca25d277c168e5ceba6955d9daf6 (diff)
zebra: fix redistribution of default routes
We were always redistributing the default routes (IPv[46]) in redistribute_update() because the 'client->redist_default' condition always returns true. The 'redist_default' member of the 'zserv' structure is a pointer and is always initialized with vrf_bitmap_init() in the zebra_client_create() function. To fix this, use vrf_bitmap_check() instead. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions