summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_recover.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-03-24 13:45:11 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-03-24 13:45:11 +1100
commit7265c713db1470a3953678f3898ce4fdee219c20 (patch)
tree20d0ca95919f64ad0da7ff76cc2b315bce35aba4 /ctdb/server/ctdb_recover.c
parent4d5bb92fa939f799dfaec1472f6d5e61b0b6ea73 (diff)
downloadsamba-7265c713db1470a3953678f3898ce4fdee219c20.tar.gz
samba-7265c713db1470a3953678f3898ce4fdee219c20.tar.xz
samba-7265c713db1470a3953678f3898ce4fdee219c20.zip
we need to set the port properly in the parse_ip helper
(This used to be ctdb commit 43fe18d86995744ba61c7a6405b70edcb265930a)
Diffstat (limited to 'ctdb/server/ctdb_recover.c')
-rw-r--r--ctdb/server/ctdb_recover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_recover.c b/ctdb/server/ctdb_recover.c
index 2d95b18466..12b95deb7b 100644
--- a/ctdb/server/ctdb_recover.c
+++ b/ctdb/server/ctdb_recover.c
@@ -165,6 +165,7 @@ ctdb_control_getnodemap(struct ctdb_context *ctdb, uint32_t opcode, TDB_DATA ind
for (i=0; i<num_nodes; i++) {
if (parse_ip(ctdb->nodes[i]->address.address,
NULL, /* TODO: pass in the correct interface here*/
+ 0,
&node_map->nodes[i].addr) == 0)
{
DEBUG(DEBUG_ERR, (__location__ " Failed to parse %s into a sockaddr\n", ctdb->nodes[i]->address.address));