projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae4a77c
)
Accept RESUME_CLIENT with and without source id in packet.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 11 Nov 2007 12:12:23 +0000
(12:12 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 11 Nov 2007 12:12:23 +0000
(12:12 +0000)
apps/silcd/server.c
patch
|
blob
|
history
diff --git
a/apps/silcd/server.c
b/apps/silcd/server.c
index 9f68e5b8f4fd869ea3f6ff407652e432b4ea4a52..8093acf63705c93770bae467c9b235ee6a535e29 100644
(file)
--- a/
apps/silcd/server.c
+++ b/
apps/silcd/server.c
@@
-108,11
+108,10
@@
static SilcBool silc_server_packet_receive(SilcPacketEngine engine,
packet->type != SILC_PACKET_DISCONNECT)
return FALSE;
packet->type != SILC_PACKET_DISCONNECT)
return FALSE;
- /* NEW_CLIENT
, NEW_SERVER and RESUME_CLIENT are accepted only without
-
source ID and
for unregistered connection. */
+ /* NEW_CLIENT
and NEW_SERVER are accepted only without source ID and
+ for unregistered connection. */
if (packet->src_id && (packet->type == SILC_PACKET_NEW_CLIENT ||
if (packet->src_id && (packet->type == SILC_PACKET_NEW_CLIENT ||
- packet->type == SILC_PACKET_NEW_SERVER ||
- packet->type == SILC_PACKET_RESUME_CLIENT) &&
+ packet->type == SILC_PACKET_NEW_SERVER) &&
(idata->status & SILC_IDLIST_STATUS_REGISTERED))
return FALSE;
(idata->status & SILC_IDLIST_STATUS_REGISTERED))
return FALSE;