diff options
| author | Lou Berger <lberger@labn.net> | 2018-04-10 11:57:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-10 11:57:13 -0400 |
| commit | ebf58e2e481e3be7d9649b9923a8dc2f015a4b11 (patch) | |
| tree | 7ade500ad3876b2cf6993faba792be45fbed66ac /zebra/zebra_rib.c | |
| parent | aa2fc55b2096ee9704ddb74f200672ae999d9ab9 (diff) | |
| parent | 20089ae2e41621e3e63aab67170d71bdf8605641 (diff) | |
Merge pull request #2009 from donaldsharp/self_originate
zebra: Notice when our route is deleted and re-install.
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index effe672a9d..48969e87f2 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2491,8 +2491,7 @@ void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, * If we can show that this code path is * dead then we can remove it. */ - if (fib && type == ZEBRA_ROUTE_KERNEL - && CHECK_FLAG(flags, ZEBRA_FLAG_SELFROUTE)) { + if (fib && CHECK_FLAG(flags, ZEBRA_FLAG_SELFROUTE)) { if (IS_ZEBRA_DEBUG_RIB) { rnode_debug( rn, vrf_id, |
