mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 13:21:22 +00:00
zebra: Fix wrong afi used in zebra_static.c
When calling a route uninstall in zebra_static.c use the afi passed in and don't hardcode AFI_IP Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
9ad5ef406d
commit
515b2a23e7
@ -518,7 +518,7 @@ static_delete_route (afi_t afi, safi_t safi, u_char type, struct prefix *p,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Install into rib. */
|
/* Install into rib. */
|
||||||
static_uninstall_route (AFI_IP, safi, p, si);
|
static_uninstall_route (afi, safi, p, si);
|
||||||
|
|
||||||
/* Unlink static route from linked list. */
|
/* Unlink static route from linked list. */
|
||||||
if (si->prev)
|
if (si->prev)
|
||||||
|
Loading…
Reference in New Issue
Block a user