]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: use the vrf_bitmap_*() helper functions when necessary
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 19 Oct 2018 18:55:22 +0000 (15:55 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 20 Oct 2018 15:39:05 +0000 (12:39 -0300)
commit9f2337c913d0881701597edd419d1ba96b06f109
tree4bb6dfbaba28aff6e294b363715bb46069a4370a
parent2eab13249cfea60f5788ac4393d2096e63d19e22
bgpd: use the vrf_bitmap_*() helper functions when necessary

zclient->redist[afi][type] is a hash table and not an integer since a
while ago when VRF support was introduced. As such, zclient->redist[][]
should never be manipulated directly, the vrf_bitmap_*() helper functions
should be used instead. This fixes a few crashes found by the CLI fuzzer.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
bgpd/rfapi/vnc_zebra.c