summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2016-10-20 18:16:51 -0400
committerDavid Storch <david.storch@10gen.com>2016-10-24 19:15:36 -0400
commit9af567fdd5b5bf58e76209fc375502c8ee08b08d (patch)
treed388046fbb387278d6a29501208e538504e15f9e /src/mongo/db/db.cpp
parentfe6ce934697d4f8d483829e275ef1f41d2d0e847 (diff)
downloadmongo-9af567fdd5b5bf58e76209fc375502c8ee08b08d.tar.gz
SERVER-26420 fix shell to not send internalClient info in isMaster
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r--src/mongo/db/db.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 85344d25822..7699483ad97 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -513,6 +513,8 @@ void _initWireSpec() {
// connect to any version
spec.outgoing.minWireVersion = RELEASE_2_4_AND_BEFORE;
spec.outgoing.maxWireVersion = COMMANDS_ACCEPT_WRITE_CONCERN;
+
+ spec.isInternalClient = true;
}
ExitCode _initAndListen(int listenPort) {