Просмотр исходного кода

iba: Use configured node id

Corosync was ignoring nodeid for iba transport and always used
autogenerated one.

Original patch by: Jason Dillaman <jdillama@redhat.com>
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
(cherry picked from commit 04720649baad51d56426085209faa5580b44386c)
Jan Friesse 14 лет назад
Родитель
Сommit
0b6e1dc329
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      exec/totemiba.c

+ 2 - 0
exec/totemiba.c

@@ -1296,6 +1296,8 @@ int totemiba_initialize (
 
 	instance->totemiba_poll_handle = poll_handle;
 
+	instance->totem_interface->bindnet.nodeid = totem_config->node_id;
+
 	instance->totemiba_deliver_fn = deliver_fn;
 
 	instance->totemiba_target_set_completed = target_set_completed;