X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fpacket_send.c;h=12e689462455dc4180442be54cc3ffed08a66446;hb=48d89bc2868ec49c2ab9aa74efe9ac703eee8f29;hp=ec26e5d16fb0d82eb940f4ea98ef0632c4875d23;hpb=10ec50cff8ad9d6a77080821037c1234dc066b47;p=silc.git diff --git a/apps/silcd/packet_send.c b/apps/silcd/packet_send.c index ec26e5d1..12e68946 100644 --- a/apps/silcd/packet_send.c +++ b/apps/silcd/packet_send.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2000 Pekka Riikonen + Copyright (C) 1997 - 2001 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -197,7 +197,7 @@ void silc_server_packet_broadcast(SilcServer server, /* If the packet is originated from our primary route we are not allowed to send the packet. */ - id = silc_id_str2id(packet->src_id, packet->src_id_type); + id = silc_id_str2id(packet->src_id, packet->src_id_len, packet->src_id_type); if (id && SILC_ID_SERVER_COMPARE(id, server->router->id)) { idata = (SilcIDListData)sock->user_data;