summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-11-09 17:42:36 +0100
committerMaria Matejka <mq@ucw.cz>2021-11-09 17:42:36 +0100
commit60880b539b8886f76961125d89a265c6e1112b7a (patch)
tree11f04cefffd8294beea6d5ff81ecf915696eefcd
parent0b295d695acab007dd7baab3e9e97c682f716ee8 (diff)
Extended route trace: logging Path Identifiers
-rw-r--r--nest/rt-table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 89e94c55..468624ff 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -405,8 +405,8 @@ rte_mergable(rte *pri, rte *sec)
static void
rte_trace(struct channel *c, rte *e, int dir, char *msg)
{
- log(L_TRACE "%s.%s %c %s %N %s",
- c->proto->name, c->name ?: "?", dir, msg, e->net->n.addr,
+ log(L_TRACE "%s.%s %c %s %N %uL %uG %s",
+ c->proto->name, c->name ?: "?", dir, msg, e->net->n.addr, e->src->private_id, e->src->global_id,
rta_dest_name(e->attrs->dest));
}