diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-05 10:58:43 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-05 11:00:38 -0400 |
| commit | 515b2a23e7a36a60783dae45d9bdbc9b2ecb447c (patch) | |
| tree | c9b9e4f4cd8261baf653bf481108a3c46ae55e69 /zebra/zebra_static.c | |
| parent | 9ad5ef406dd4ff104230b81a52de9fff41f3c526 (diff) | |
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>
Diffstat (limited to 'zebra/zebra_static.c')
| -rw-r--r-- | zebra/zebra_static.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c index 1dc54e171c..dfe196c4b2 100644 --- a/zebra/zebra_static.c +++ b/zebra/zebra_static.c @@ -518,7 +518,7 @@ static_delete_route (afi_t afi, safi_t safi, u_char type, struct prefix *p, } /* Install into rib. */ - static_uninstall_route (AFI_IP, safi, p, si); + static_uninstall_route (afi, safi, p, si); /* Unlink static route from linked list. */ if (si->prev) |
