projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not allow removing of local server entry in SERVER_SIGNOFF notify.
[silc.git]
/
apps
/
silcd
/
packet_receive.c
diff --git
a/apps/silcd/packet_receive.c
b/apps/silcd/packet_receive.c
index b3828beb1a4b392db9fdfa1f1ea8c17b1f3904de..525ada9d0d9d57112830a826989048cf698b0467 100644
(file)
--- a/
apps/silcd/packet_receive.c
+++ b/
apps/silcd/packet_receive.c
@@
-1305,7
+1305,7
@@
void silc_server_notify(SilcServer server,
silc_free(server_id);
/* Sending SERVER_SIGNOFF is not right way to signoff local connection */
silc_free(server_id);
/* Sending SERVER_SIGNOFF is not right way to signoff local connection */
- if (SILC_IS_LOCAL(server_entry))
+ if (SILC_IS_LOCAL(server_entry)
|| server_entry == server->id_entry
)
break;
/* Remove all servers that are originated from this server, and
break;
/* Remove all servers that are originated from this server, and