From 9cd5f7467e54d23598d72f891acd5050b509ce48 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 10 Sep 2002 08:39:11 +0000 Subject: [PATCH] Print error about unknown channel ekys only on router since it's possible (expecially on backup router) to receive those. --- apps/silcd/server.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/silcd/server.c b/apps/silcd/server.c index 3126c396..f5e6b7fc 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -3824,8 +3824,9 @@ SilcChannelEntry silc_server_save_channel_key(SilcServer server, if (!channel) { channel = silc_idlist_find_channel_by_id(server->global_list, id, NULL); if (!channel) { - SILC_LOG_ERROR(("Received key for non-existent channel %s", - silc_id_render(id, SILC_ID_CHANNEL))); + if (server->server_type == SILC_ROUTER) + SILC_LOG_ERROR(("Received key for non-existent channel %s", + silc_id_render(id, SILC_ID_CHANNEL))); goto out; } } -- 2.24.0