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
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to