projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14edb23
)
Print error about unknown channel ekys only on router since it's
author
Pekka Riikonen
<priikone@silcnet.org>
Tue, 10 Sep 2002 08:39:11 +0000
(08:39 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Tue, 10 Sep 2002 08:39:11 +0000
(08:39 +0000)
possible (expecially on backup router) to receive those.
apps/silcd/server.c
patch
|
blob
|
history
diff --git
a/apps/silcd/server.c
b/apps/silcd/server.c
index 3126c396bc38d07897fac43d42eb5fe1932c9876..f5e6b7fcffb001cc904539011cb935ff6cf5f77f 100644
(file)
--- 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;
}
}