updates.
[silc.git] / apps / silcd / packet_receive.c
index 926163899005ea30c40485d2b411a3e4c16db780..9dcc3fa7848f5aa81481cf1d9dc802994bbcefd9 100644 (file)
@@ -1317,7 +1317,7 @@ void silc_server_command_reply(SilcServer server,
 
   if (packet->dst_id_type == SILC_ID_SERVER) {
     /* For now this must be for us */
-    if (memcmp(packet->dst_id, server->id_string, packet->dst_id_len)) {
+    if (memcmp(packet->dst_id, server->id_string, server->id_string_len)) {
       SILC_LOG_ERROR(("Cannot process command reply to unknown server"));
       return;
     }