Selaa lähdekoodia

Merge trunk revision 2656:
r2656 | sdake | 2010-02-15 14:39:33 -0700 (Mon, 15 Feb 2010) | 3 lines

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



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2703 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 vuotta sitten
vanhempi
commit
9a5f9b3918
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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