summaryrefslogtreecommitdiff
path: root/src/mon/MonClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mon/MonClient.cc')
-rw-r--r--src/mon/MonClient.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mon/MonClient.cc b/src/mon/MonClient.cc
index 73888a98cea..65f79640839 100644
--- a/src/mon/MonClient.cc
+++ b/src/mon/MonClient.cc
@@ -34,7 +34,9 @@ int MonClient::probe_mon(MonMap *pmonmap)
cerr << "couldn't parse ip:port(s) from '" << g_conf.mon_host << "'" << std::endl;
return -1;
}
-
+
+ SimpleMessenger rank;
+
rank.bind();
dout(1) << " connecting to monitor(s) at " << monaddrs << " ..." << dendl;