]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/MonClient.h
update sources to v12.2.5
[ceph.git] / ceph / src / mon / MonClient.h
index 0b24e01e2bace5fe884b8265804d6a64d1986a47..703da88fa2bbbf7633f3146c599db1005c1e4f86 100644 (file)
@@ -224,6 +224,8 @@ public:
   int authenticate(double timeout=0.0);
   bool is_authenticated() const {return authenticated;}
 
+  bool is_connected() const { return active_con != nullptr; }
+
   /**
    * Try to flush as many log messages as we can in a single
    * message.  Use this before shutting down to transmit your