projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Preliminary SILC Server 1.1 commit.
[silc.git]
/
apps
/
silcd
/
route.c
diff --git
a/apps/silcd/route.c
b/apps/silcd/route.c
index 5488bb315659a5417fbaf692ecbf5ae8b065e807..f32417c7f5657a7ba2ced36ac5504a684ee6ca7a 100644
(file)
--- a/
apps/silcd/route.c
+++ b/
apps/silcd/route.c
@@
-68,7
+68,7
@@
SilcServerEntry silc_server_route_check(SilcUInt32 dest,
If we are normal server then this just returns our primary route. If
we are router we will do route lookup. */
If we are normal server then this just returns our primary route. If
we are router we will do route lookup. */
-Silc
SocketConnection
silc_server_route_get(SilcServer server, void *id,
+Silc
PacketStream
silc_server_route_get(SilcServer server, void *id,
SilcIdType id_type)
{
if (server->server_type == SILC_ROUTER) {
SilcIdType id_type)
{
if (server->server_type == SILC_ROUTER) {
@@
-98,10
+98,10
@@
SilcSocketConnection silc_server_route_get(SilcServer server, void *id,
router = silc_server_route_check(dest, port);
if (router)
router = silc_server_route_check(dest, port);
if (router)
-
return (SilcSocketConnection)
router->connection;
+
return
router->connection;
}
return (server->id_entry->router)
}
return (server->id_entry->router)
- ?
(SilcSocketConnection)
server->id_entry->router->connection
+ ? server->id_entry->router->connection
: NULL;
}
: NULL;
}