[Openais] corosync trunk - patch to search for IFA_LOCAL instead of IFA_BROADCAST

Steven Dake sdake at redhat.com
Fri Nov 27 14:51:37 PST 2009


The current totem code searches for interfaces and finds them by doing a
calculation if (netmask & interface) == (netmask & bindnetaddr) then it
binds the address.

The current code uses the entirely wrong address for "interface" using
the "broadcast" parameter (printed from ifconfig) rather then the local
interface address.

patch to fix

Regards
-steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync-trunk-use-IFA_LOCAL-when-searching.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20091127/3802e1ad/attachment.bin 


More information about the Openais mailing list