summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupCommands.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-12-13 00:43:41 +0000
committerChris Wilson <chris+github@qwirx.com>2011-12-13 00:43:41 +0000
commitdea24ce69f88e2e28dce35aacaba83c90adb6cff (patch)
tree0453cb9860330a2d33b12c2c2a4eaf9cf0c988c4 /lib/backupstore/BackupCommands.cpp
parent20a8c39aa25d454a3fa142f125003ad242d73ea0 (diff)
Add remote host and port to post-login login message, requested by Pete Jalajas.
Diffstat (limited to 'lib/backupstore/BackupCommands.cpp')
-rw-r--r--lib/backupstore/BackupCommands.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/backupstore/BackupCommands.cpp b/lib/backupstore/BackupCommands.cpp
index b2a42eb7..66764a3b 100644
--- a/lib/backupstore/BackupCommands.cpp
+++ b/lib/backupstore/BackupCommands.cpp
@@ -131,7 +131,8 @@ std::auto_ptr<BackupProtocolMessage> BackupProtocolLogin::DoCommand(BackupProtoc
BOX_FORMAT_ACCOUNT(mClientID) << " "
"(name=" << rContext.GetAccountName() << "): " <<
(((mFlags & Flags_ReadOnly) != Flags_ReadOnly)
- ?"Read/Write":"Read-only"));
+ ?"Read/Write":"Read-only") << " from " <<
+ rContext.GetConnectionDetails());
// Get the usage info for reporting to the client
int64_t blocksUsed = 0, blocksSoftLimit = 0, blocksHardLimit = 0;