From 18e7099918dc4394c4125b761e34c60e1c2e7d90 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Fri, 22 Sep 2023 14:24:52 +0200 Subject: [PATCH] Aggregator: removed superfluous debug messages --- proto/aggregator/aggregator.c | 3 ++- proto/aggregator/config.Y | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/proto/aggregator/aggregator.c b/proto/aggregator/aggregator.c index 09cddf60..596aa4c0 100644 --- a/proto/aggregator/aggregator.c +++ b/proto/aggregator/aggregator.c @@ -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); new->net = net; + /* log("=============== CREATE MERGED ROUTE ==============="); log("New route created: id = %d, protocol: %s", new->src->global_id, new->src->proto->name); log("==================================================="); - + */ /* merge filter needs one argument called "routes" */ struct f_val val = { diff --git a/proto/aggregator/config.Y b/proto/aggregator/config.Y index cb0ea31f..44b7752f 100644 --- a/proto/aggregator/config.Y +++ b/proto/aggregator/config.Y @@ -49,7 +49,7 @@ aggregator_proto_item: int count = 0; 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) net_present = 1;