For parity with log messages from other daemons etc.
Signed-off-by: Sage Weil <sage@redhat.com>
}
MgrSessionRef s(new MgrSession);
- s->addr = con->get_peer_addr();
+ s->inst.addr = con->get_peer_addr();
AuthCapsInfo caps_info;
is_valid = handler->verify_authorizer(
return true;
}
session->put(); // SessionRef takes a ref
+ if (session->inst.name == entity_name_t())
+ session->inst.name = m->get_source();
string format;
boost::scoped_ptr<Formatter> f;
struct MgrSession : public RefCountedObject {
uint64_t global_id = 0;
EntityName entity_name;
- entity_addr_t addr;
+ entity_inst_t inst;
// mon caps are suitably generic for mgr
MonCap caps;