summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-10-19 13:07:15 +0200
committerGitHub <noreply@github.com>2018-10-19 13:07:15 +0200
commit4cbc5a77768f85ba80852039ee024ffbcad6ea4f (patch)
tree09d6218569e967e41fc581953b46c7d131216909
parenta850bcecc1969b04327e1b5671769c4ca6e90e90 (diff)
parent7939ff769f24980113e0d2fba9ab8074e74f2df5 (diff)
Merge pull request #3201 from donaldsharp/breadcrumbs_for_donald
zebra: Add some missing breadcrumbs
-rw-r--r--zebra/zebra_rib.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 4c35b1003f..05419ee4bf 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -601,9 +601,20 @@ static int nexthop_active(afi_t afi, struct route_entry *re,
__PRETTY_FUNCTION__);
return resolved;
} else {
+ if (IS_ZEBRA_DEBUG_RIB_DETAILED) {
+ zlog_debug("\t%s: Route Type %s has not turned on recursion",
+ __PRETTY_FUNCTION__,
+ zebra_route_string(re->type));
+ if (re->type == ZEBRA_ROUTE_BGP &&
+ !CHECK_FLAG(re->flags, ZEBRA_FLAG_IBGP))
+ zlog_debug("\tEBGP: see \"disable-ebgp-connected-route-check\" or \"disable-connected-check\"");
+ }
return 0;
}
}
+ if (IS_ZEBRA_DEBUG_RIB_DETAILED)
+ zlog_debug("\t%s: Nexthop did not lookup in table",
+ __PRETTY_FUNCTION__);
return 0;
}