[Openais] [PATCH] totemip: fix port numbers

Christine Caulfield ccaulfie at redhat.com
Wed Nov 12 07:32:11 PST 2008

totemip does not call ntohs() on the port numbers it puts into the
sockaddr structures.

The effect of this is that the port number in corosync.conf is used
byteswapped. eg: setting mcastport: 5405 causes corosync to bind to
ports 7445 and 7189 !

The attached patch fixes this but breaks cman. That's my problem ;-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: totemip-port.patch
Type: text/x-patch
Size: 719 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20081112/7cfb5e83/attachment-0001.bin 

More information about the Openais mailing list