4
0
Эх сурвалжийг харах

Use nodeid instead of localhost ip for the case when binding to a
loalhost interface.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2656 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 жил өмнө
parent
commit
1978c9d471
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      exec/totemudp.c

+ 1 - 0
exec/totemudp.c

@@ -1777,6 +1777,7 @@ int totemudp_initialize (
 	instance->totemudp_target_set_completed = target_set_completed;
 	instance->totemudp_target_set_completed = target_set_completed;
 
 
 	totemip_localhost (instance->mcast_address.family, &localhost);
 	totemip_localhost (instance->mcast_address.family, &localhost);
+	localhost.nodeid = instance->totem_config->node_id;
 
 
 	/*
 	/*
 	 * RRP layer isn't ready to receive message because it hasn't
 	 * RRP layer isn't ready to receive message because it hasn't