diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-06-05 17:57:07 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-06-05 17:57:07 +1000 |
commit | be3a00bd7305065bccfc014abd34a4e47fea3e27 (patch) | |
tree | 9e2167b21e981ce73e43681f4c789d880f73de83 /ctdb/tcp | |
parent | ac55bc4166c263c4fe0e0b7dbca803226709f499 (diff) | |
download | samba-be3a00bd7305065bccfc014abd34a4e47fea3e27.tar.gz samba-be3a00bd7305065bccfc014abd34a4e47fea3e27.tar.xz samba-be3a00bd7305065bccfc014abd34a4e47fea3e27.zip |
clean out some more cruft
(This used to be ctdb commit ad16c5fe2748b48a6f6c79976359d56d9bed33f4)
Diffstat (limited to 'ctdb/tcp')
-rw-r--r-- | ctdb/tcp/tcp_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/tcp/tcp_init.c b/ctdb/tcp/tcp_init.c index 7e75195302..ab1de71ca4 100644 --- a/ctdb/tcp/tcp_init.c +++ b/ctdb/tcp/tcp_init.c @@ -80,10 +80,10 @@ static int ctdb_tcp_start(struct ctdb_context *ctdb) struct ctdb_node *node = *(ctdb->nodes + i); struct ctdb_tcp_node *tnode = talloc_get_type( node->private_data, struct ctdb_tcp_node); - if (!(ctdb->flags & CTDB_FLAG_SELF_CONNECT) && - ctdb_same_address(&ctdb->address, &node->address)) continue; - event_add_timed(ctdb->ev, tnode, timeval_zero(), - ctdb_tcp_node_connect, node); + if (!ctdb_same_address(&ctdb->address, &node->address)) { + event_add_timed(ctdb->ev, tnode, timeval_zero(), + ctdb_tcp_node_connect, node); + } } return 0; |