Преглед изворни кода

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 година
родитељ
комит
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;
 
 	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