Update hconfd bind address handling
authorIustin Pop <iustin@google.com>
Mon, 19 Mar 2012 17:02:56 +0000 (18:02 +0100)
committerIustin Pop <iustin@google.com>
Tue, 20 Mar 2012 22:37:51 +0000 (22:37 +0000)
commit19cff31102b7af15e0eea5fb5eda2842f4adabbc
tree3cf8f96980b6cb51c379877ca41b2ef1a96df873
parent152e05e139cf8e8532a2e8a33cdccd6d3c2a402d
Update hconfd bind address handling

Instead of hardcoded IPv4 INADDR_ANY, this patch changes hconfd to use
either the any network for the configured cluster address family
(ipv4/ipv6), or whatever the user passes in via the --bind option.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
htools/Ganeti/Confd/Server.hs
htools/hconfd.hs