[Openais] mcastport port not correctly handled

Fabien Thomas fabien.thomas at netasq.com
Tue Sep 23 09:24:16 PDT 2008


Is there a problem to commit this fix in trunk ?
Another bonus question is why the 2nd port is not incremented related  
to the base port ?

Fabien

> Hi
>
> In trunk branch, if you have mcastport:5405 in corosync.conf,
> the listen port are 7701 and 7445.
>
> We got 2 bugs in trunk-branch :
> A/ corosync is missing htons() when using mcastport.
> B/ ports are not contiguous.
>
> Whitetank-branch use htons() when configuration is read : the bug B  
> are
> also spotted.
>
> The patch place htons() call in totemip_totemip_to_sockaddr_convert(),
> and fix A and B :
> udp4       0      0 Firewall_HA2.5405      *.*
> udp4       0      0 Firewall_HA2.5404      *.*
>
> Regards,
> Mathieu
> <patch-totemip- 
> htons.txt>_______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2382 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20080923/df5e9163/attachment.bin 


More information about the Openais mailing list