[Openais] [PATCH] totemip: fix port numbers

Fabio M. Di Nitto fabbione at fabbione.net
Thu Nov 13 00:54:45 PST 2008


On Wed, 12 Nov 2008, Christine Caulfield wrote:

> 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 ;-)
> -- 
>
> Chrissie
>

+1 from here.

Fabio

--
I'm going to make him an offer he can't refuse.


More information about the Openais mailing list