]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/ceph_mgr.cc
update sources to v12.2.0
[ceph.git] / ceph / src / ceph_mgr.cc
index 6b72cf2f9bd8ddf26eebb9caecf0a24dd6723468..91043f6e81628a1f6e9bf65a5727871a6fbbed03 100644 (file)
@@ -20,6 +20,7 @@
 #include "common/config.h"
 #include "common/ceph_argparse.h"
 #include "common/errno.h"
+#include "common/pick_address.h"
 #include "global/global_init.h"
 
 #include "mgr/MgrStandby.h"
@@ -52,6 +53,8 @@ int main(int argc, const char **argv)
     usage();
   }
 
+  pick_addresses(g_ceph_context, CEPH_PICK_ADDRESS_PUBLIC);
+
   global_init_daemonize(g_ceph_context);
   global_init_chdir(g_ceph_context);
   common_init_finish(g_ceph_context);