diff options
author | David Storch <david.storch@10gen.com> | 2016-10-20 18:16:51 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2016-10-24 19:15:36 -0400 |
commit | 9af567fdd5b5bf58e76209fc375502c8ee08b08d (patch) | |
tree | d388046fbb387278d6a29501208e538504e15f9e /src/mongo/db/db.cpp | |
parent | fe6ce934697d4f8d483829e275ef1f41d2d0e847 (diff) | |
download | mongo-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.cpp | 2 |
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) { |