diff options
Diffstat (limited to 'src/mongo/db/client.h')
-rw-r--r-- | src/mongo/db/client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/client.h b/src/mongo/db/client.h index 3ffed27adc2..615902f2c80 100644 --- a/src/mongo/db/client.h +++ b/src/mongo/db/client.h @@ -138,6 +138,10 @@ public: return std::move(_session); } + transport::Session::TagMask getSessionTags() const { + return _session ? _session->getTags() : 0; + } + std::string clientAddress(bool includePort = false) const; const std::string& desc() const { return _desc; |