projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged from silc_1_0_branch (second merge).
[silc.git]
/
apps
/
silcd
/
idlist.c
diff --git
a/apps/silcd/idlist.c
b/apps/silcd/idlist.c
index 9acdd06844330fd6b2e7f93baaa55d344aa68687..fb457b6c44335fe596b732bccd50aed9d8f0b605 100644
(file)
--- a/
apps/silcd/idlist.c
+++ b/
apps/silcd/idlist.c
@@
-227,7
+227,7
@@
silc_idlist_find_server_by_conn(SilcIDList id_list, char *hostname,
if (sock && ((sock->hostname && !strcasecmp(sock->hostname, hostname)) ||
(sock->ip && !strcasecmp(sock->ip, hostname)))
- && server->id->port ==
htons
(port))
+ && server->id->port ==
SILC_SWAB_16
(port))
break;
id_cache = NULL;