summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2015-11-20 08:48:32 -0800
committervivek <vivek@cumulusnetworks.com>2015-11-20 08:48:32 -0800
commit41ec92223a7dfc14eb8cb0b84c73ad09943213eb (patch)
treea533a74b37edb67130fa36ed96066f49933fa258 /zebra/interface.c
parent0b560feb23d1ca0d59cd427f0d1fefb4db7b3c2a (diff)
Zebra: Cleanup RIB debugs
Some of the changes include: - ensuring IPv6 addresses are printed correctly - say 'updating' or 'deleting' etc. only when that is actually done - say 'queuing' or 'dequeuing' only when that is actually done - print useful info for 'detailed' debug - that now subsumes 'rib queue' - delete various useless logs - VRF-specific - print VRF id in RIB debugs prior to prefix (e.g., 4:37.1.1.0/28) Ticket: CM-8110 Reviewed By: CCR-3765 Testing Done: Manual testing (2.5-br)
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index a3d297d327..8d081c0597 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -639,7 +639,7 @@ if_up (struct interface *ifp)
}
}
- if (IS_ZEBRA_DEBUG_RIB)
+ if (IS_ZEBRA_DEBUG_RIB_DETAILED)
zlog_debug ("%s: calling rib_update on interface %s up", __func__,
ifp->name);
@@ -677,7 +677,7 @@ if_down (struct interface *ifp)
}
/* Examine all static routes which direct to the interface. */
- if (IS_ZEBRA_DEBUG_RIB)
+ if (IS_ZEBRA_DEBUG_RIB_DETAILED)
zlog_debug ("%s: calling rib_update_static on interface %s down", __func__,
ifp->name);