From c613a0d6b7a6b5ad79c1bc50dd67b4df118c643e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 7 May 2021 11:08:26 +0200 Subject: [PATCH] Log the amount of metadata received at DEBUG level. --- src/meta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/meta.c b/src/meta.c index fa880d2a..94aab981 100644 --- a/src/meta.c +++ b/src/meta.c @@ -142,6 +142,8 @@ bool receive_meta(meshlink_handle_t *mesh, connection_t *c) { return false; } + logger(mesh, MESHLINK_DEBUG, "Received %d bytes of metadata from %s", inlen, c->name); + if(c->allow_request == ID) { buffer_add(&c->inbuf, inbuf, inlen); -- 2.39.5