From: Pekka Riikonen Date: Sun, 10 Jun 2007 16:11:21 +0000 (+0000) Subject: Server Id's will be static. X-Git-Tag: 1.2.beta4~12^2~130 X-Git-Url: http://git.silcnet.org/gitweb/?p=runtime.git;a=commitdiff_plain;h=97f3bc58f8dd58d17a02a6ffb4d71f3a84fd380a Server Id's will be static. --- diff --git a/apps/silcd/serverid.c b/apps/silcd/serverid.c index f840cab9..73641c65 100644 --- a/apps/silcd/serverid.c +++ b/apps/silcd/serverid.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2005 Pekka Riikonen + Copyright (C) 1997 - 2007 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 @@ -43,7 +43,7 @@ void silc_id_create_server_id(const char *ip, SilcUInt16 port, SilcRng rng, (*new_id)->ip.data_len = silc_net_is_ip4(ip) ? 4 : 16; (*new_id)->port = SILC_SWAB_16(port); - (*new_id)->rnd = silc_rng_get_rn16(rng); + (*new_id)->rnd = 0xff; SILC_LOG_DEBUG(("New ID (%s)", silc_id_render(*new_id, SILC_ID_SERVER))); }