summaryrefslogtreecommitdiff
path: root/ctdb/tcp/tcp_connect.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/tcp/tcp_connect.c
parent4d5bb92fa939f799dfaec1472f6d5e61b0b6ea73 (diff)
downloadsamba-7265c713db1470a3953678f3898ce4fdee219c20.tar.gz
we need to set the port properly in the parse_ip helper
(This used to be ctdb commit 43fe18d86995744ba61c7a6405b70edcb265930a)
Diffstat (limited to 'ctdb/tcp/tcp_connect.c')
-rw-r--r--ctdb/tcp/tcp_connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tcp/tcp_connect.c b/ctdb/tcp/tcp_connect.c
index ac443d1f8e5..9d28d48a1f0 100644
--- a/ctdb/tcp/tcp_connect.c
+++ b/ctdb/tcp/tcp_connect.c
@@ -109,7 +109,7 @@ static void ctdb_node_connect_write(struct event_context *ev, struct fd_event *f
static int ctdb_tcp_get_address(struct ctdb_context *ctdb,
const char *address, ctdb_sock_addr *addr)
{
- if (parse_ip(address, NULL, addr) == 0) {
+ if (parse_ip(address, NULL, 0, addr) == 0) {
DEBUG(DEBUG_CRIT, (__location__ " Unparsable address : %s.\n", address));
return -1;
}