]> git.proxmox.com Git - mirror_corosync.git/commit
config: Don't fudge port numbers
authorChristine Caulfield <ccaulfie@redhat.com>
Tue, 16 Jan 2018 11:33:09 +0000 (11:33 +0000)
committerJan Friesse <jfriesse@redhat.com>
Thu, 18 Jan 2018 15:31:24 +0000 (16:31 +0100)
commit31ddba64a2726bcedf81eb84df2e2da4846832f7
tree8b59e08f177bede167921ccf20e376b9f3d4de1a
parent22ae4cacda44edcb9b9fae26eb85df96218a7dd8
config: Don't fudge port numbers

When I was adding knet I wanted the port numbers to default to the
base port number + the linknumber.

However I seem to have messed this up such that any port number
specified in the config file has the link number added to it. Which
is almost certainly not what people would expect.

This patch sets it right. If a port number is not specified
then 5405+linknumber is used. If a port number IS specified
then that actual number is used.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
exec/totemconfig.c
exec/totemknet.c