summaryrefslogtreecommitdiffstats
path: root/src/ceph_syn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ceph_syn.cc')
-rw-r--r--src/ceph_syn.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ceph_syn.cc b/src/ceph_syn.cc
index 09ab7db1c28..428724fc92c 100644
--- a/src/ceph_syn.cc
+++ b/src/ceph_syn.cc
@@ -29,6 +29,7 @@ using namespace std;
#include "common/Timer.h"
#include "global/global_init.h"
#include "common/ceph_argparse.h"
+#include "common/pick_address.h"
#if !defined(DARWIN) && !defined(__FreeBSD__)
#include <envz.h>
@@ -51,6 +52,8 @@ int main(int argc, const char **argv, char *envp[])
parse_syn_options(args); // for SyntheticClient
+ pick_addresses(g_ceph_context);
+
vec_to_argv(args, argc, argv);
// get monmap