0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Aggregator: removed superfluous debug messages

This commit is contained in:
Maria Matejka 2023-09-22 14:24:52 +02:00
parent 6994f759ff
commit 18e7099918
2 changed files with 3 additions and 2 deletions

View File

@ -189,10 +189,11 @@ aggregator_bucket_update(struct aggregator_proto *p, struct aggregator_bucket *b
struct rte *new = rte_get_temp(rta, bucket->rte->src); struct rte *new = rte_get_temp(rta, bucket->rte->src);
new->net = net; new->net = net;
/*
log("=============== CREATE MERGED ROUTE ==============="); log("=============== CREATE MERGED ROUTE ===============");
log("New route created: id = %d, protocol: %s", new->src->global_id, new->src->proto->name); log("New route created: id = %d, protocol: %s", new->src->global_id, new->src->proto->name);
log("==================================================="); log("===================================================");
*/
/* merge filter needs one argument called "routes" */ /* merge filter needs one argument called "routes" */
struct f_val val = { struct f_val val = {

View File

@ -49,7 +49,7 @@ aggregator_proto_item:
int count = 0; int count = 0;
for (const struct aggr_item_node *item = $3; item; item = item->next) { for (const struct aggr_item_node *item = $3; item; item = item->next) {
log(L_WARN "type %d sacode %d", item->i.type, item->i.sa.sa_code); // log(L_WARN "type %d sacode %d", item->i.type, item->i.sa.sa_code);
if (item->i.type == AGGR_ITEM_STATIC_ATTR && item->i.sa.sa_code == SA_NET) if (item->i.type == AGGR_ITEM_STATIC_ATTR && item->i.sa.sa_code == SA_NET)
net_present = 1; net_present = 1;