summaryrefslogtreecommitdiff
path: root/ctdb/tcp/tcp_connect.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2008-05-06 07:57:43 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2008-05-06 07:57:43 +1000
commitf8dadebbcf1de4ccac239c2a05ded3d59f790ec8 (patch)
treebffe19976a9b61b619b2641963e409c7bab6d48d /ctdb/tcp/tcp_connect.c
parentf148f1b3ce41d930898ccccfdc15aa294f64241a (diff)
downloadsamba-f8dadebbcf1de4ccac239c2a05ded3d59f790ec8.tar.gz
Use DEBUG_ERR and not DEBUG_WARNING when we get a connection
attempt from a non-ctdb host (This used to be ctdb commit 40c7a536c6b428caef7904a1de860d82a70748af)
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 0ead087c5bd..f3b4f7d3089 100644
--- a/ctdb/tcp/tcp_connect.c
+++ b/ctdb/tcp/tcp_connect.c
@@ -217,7 +217,7 @@ static void ctdb_listen_event(struct event_context *ev, struct fd_event *fde,
nodeid = ctdb_ip_to_nodeid(ctdb, incoming_node);
if (nodeid == -1) {
- DEBUG(DEBUG_WARNING, ("Refused connection from unknown node %s\n", incoming_node));
+ DEBUG(DEBUG_ERR, ("Refused connection from unknown node %s\n", incoming_node));
close(fd);
return;
}