From 3a1ac6c8d7f0663cb6f8665fbdb53e2d9a4f576a Mon Sep 17 00:00:00 2001
From: Yves Rutschle <git1@rutschle.net>
Date: Sun, 8 Jan 2023 17:45:50 +0100
Subject: [PATCH] add protocol name that was missing in previous commit

---
 log.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/log.c b/log.c
index 57281a1..077acea 100644
--- a/log.c
+++ b/log.c
@@ -195,7 +195,8 @@ void log_connection(struct connection_desc* desc, const struct connection *cnx)
     if (!desc) {
         desc = &d;
         if (!get_connection_desc(desc, cnx)) {
-            print_message(msg_connections, "%s: lost incoming connection\n");
+            print_message(msg_connections, "%s: lost incoming connection\n",
+                          cnx->proto->name);
             return;
         }
     }