diff options
| author | Christian Franke <chris@opensourcerouting.org> | 2016-12-05 20:05:30 +0100 |
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2017-01-30 13:54:46 +0100 |
| commit | 05737783711e7054ace797cea4f079f09193a8df (patch) | |
| tree | 27844c63c7a45eb244aa58ef2286fed683e11016 /zebra/zebra_static.c | |
| parent | a27428eb7164b47b6b227e1be16a87d6e84c551b (diff) | |
zebra: add srcdest support to rib
Add srcdest support to the zebra rib and to the kernel
and redistribution interfaces.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_static.c')
| -rw-r--r-- | zebra/zebra_static.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c index 7d104f30d9..33f0a2bd72 100644 --- a/zebra/zebra_static.c +++ b/zebra/zebra_static.c @@ -328,13 +328,13 @@ static_uninstall_route (afi_t afi, safi_t safi, struct prefix *p, struct static_ rib_install_kernel (rn, rib, rib); /* Update redistribution if it's selected */ if (CHECK_FLAG(rib->flags, ZEBRA_FLAG_SELECTED)) - redistribute_update (&rn->p, rib, NULL); + redistribute_update (&rn->p, NULL, rib, NULL); } else { /* Remove from redistribute if selected route becomes inactive */ if (CHECK_FLAG(rib->flags, ZEBRA_FLAG_SELECTED)) - redistribute_delete (&rn->p, rib); + redistribute_delete (&rn->p, NULL, rib); /* Remove from kernel if fib route becomes inactive */ if (CHECK_FLAG(rib->status, RIB_ENTRY_SELECTED_FIB)) rib_uninstall_kernel (rn, rib); |
