commit: r520 - branches/reconfig_groups_crash_bugfix/daemon
[email protected] Thu, 03 May 2012 11:45:06 -0400
| Newsgroups | gmane.network.spread.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: jonathan Date: 2012-05-03 11:45:06 -0400 (Thu, 03 May 2012) New Revision: 520 Modified: branches/reconfig_groups_crash_bugfix/daemon/Changelog branches/reconfig_groups_crash_bugfix/daemon/network.c Log: Fix bug caused by new semantics in DL_init_channel from libspread-util verison of datalink. Modified: branches/reconfig_groups_crash_bugfix/daemon/Changelog =================================================================== --- branches/reconfig_groups_crash_bugfix/daemon/Changelog 2012-05-03 15:41:31 UTC (rev 519) +++ branches/reconfig_groups_crash_bugfix/daemon/Changelog 2012-05-03 15:45:06 UTC (rev 520) @@ -1,3 +1,10 @@ +2012-05-03 Jonathan Stanton <[email protected]> + + * network.c (Net_init): Fix compability problem between Spread's + use of DL_init_channel for multicast channels and the new semantics + in the new libspreadutil version of datalink. Bind to all interfaces + with a INADDR_ANY for multicast groups not just the group itself. + Mon Feb 20 21:35:49 2012 Jonathan Stanton <[email protected]> * SpreadConnection.java: Fix deadlock in stopListener where listener Modified: branches/reconfig_groups_crash_bugfix/daemon/network.c =================================================================== --- branches/reconfig_groups_crash_bugfix/daemon/network.c 2012-05-03 15:41:31 UTC (rev 519) +++ branches/reconfig_groups_crash_bugfix/daemon/network.c 2012-05-03 15:45:06 UTC (rev 520) @@ -140,7 +140,7 @@ bcast_bound = TRUE; } } - Bcast_channel[Num_bcast_channels++] = DL_init_channel( RECV_CHANNEL, My.port, Bcast_address, interface_addr ); + Bcast_channel[Num_bcast_channels++] = DL_init_channel( RECV_CHANNEL | DL_BIND_ALL, My.port, Bcast_address, interface_addr ); Token_channel[Num_token_channels++] = DL_init_channel( RECV_CHANNEL, My.port+1, 0, interface_addr ); } }