]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Store actual safi in info pointer and don't free then remalloc
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Jan 2019 13:36:02 +0000 (08:36 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Jan 2019 13:42:03 +0000 (08:42 -0500)
commitea66cec4882d8e3c53cbe9465cb4313c667e87bf
treef3775e77ac0457ba2c96e2e9c38cd471ae80d213
parentc05f659a58466dd1a8dfe2a2ebbefeeb0b9c8ee0
zebra: Store actual safi in info pointer and don't free then remalloc

When we call zebra_vrf_table_create, we've already created the info
pointer in zebra_router_get_table, so properly set the info->safi
and just store the zvrf->table[afi][safi] value.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_router.c
zebra/zebra_vrf.c