Merge pull request #2832 from opensourcerouting/rm-debug-leftovers

zebra: remove unguarded debugging leftovers
This commit is contained in:
Donald Sharp 2018-08-13 19:05:36 -04:00 committed by GitHub
commit 3e93c4e3fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2354,7 +2354,6 @@ int rib_add_multipath(afi_t afi, safi_t safi, struct prefix *p,
/* Lookup route node.*/
rn = srcdest_rnode_get(table, p, src_p);
zlog_debug("Distance: %d", re->distance);
/*
* If same type of route are installed, treat it as a implicit
* withdraw.
@ -2386,7 +2385,6 @@ int rib_add_multipath(afi_t afi, safi_t safi, struct prefix *p,
break;
}
zlog_debug("same: %p distance: %d", same, same ? same->distance : -1);
/* If this route is kernel route, set FIB flag to the route. */
if (RIB_SYSTEM_ROUTE(re))
for (nexthop = re->ng.nexthop; nexthop; nexthop = nexthop->next)