summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2023-10-02 15:09:30 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2023-10-02 15:09:30 +0200
commit21213be523baa7f2cbf0feaa617f265c55e9b17a (patch)
tree97d0374225e267fe6b3c0cc64eacbe5395ba00b6 /nest/rt-table.c
parent8ad9c4bb339172d445d1346876b2c9f3c27199c1 (diff)
Nest: Expand rte_src.private_id to u64
In general, private_id is sparse and protocols may want to map some internal values directly into it. For example, L3VPN needs to map VPN route discriminators to private_id. OTOH, u32 is enough for global_id, as these identifiers are dense.
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 8b41ffee..5e677465 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -675,7 +675,7 @@ 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 %uL %uG %s",
+ log(L_TRACE "%s.%s %c %s %N %luL %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));
}