summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-23 09:48:56 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-23 09:48:56 -0800
commit2372cf6268b73c10fa30923229a59bfc8a138544 (patch)
treeb3667a7162cee6619e5bb5a868084839aae4bf93
parent68a8a0db8666a7b5ea96047368ca480eb5f2ed09 (diff)
downloadquagga-2372cf6268b73c10fa30923229a59bfc8a138544.tar.bz2
quagga-2372cf6268b73c10fa30923229a59bfc8a138544.tar.xz
Add diagnostic messages
More diagnostic messages in case of updating existing route.
-rw-r--r--zebra/zebra_rib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 205749e4..29b66268 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1214,8 +1214,9 @@ rib_process (struct route_node *rn)
if (select && select == fib)
{
if (IS_ZEBRA_DEBUG_RIB)
- zlog_debug ("%s: %s/%d: Updating existing route, select %p, fib %p",
- __func__, buf, rn->p.prefixlen, select, fib);
+ zlog_debug ("%s: %s/%d: Updating existing route, fib %p flags %#lx status %#lx",
+ __func__, buf, rn->p.prefixlen, fib,
+ select->flags, select->status);
if (CHECK_FLAG (select->flags, ZEBRA_FLAG_CHANGED))
{
redistribute_delete (&rn->p, select);