summaryrefslogtreecommitdiff
path: root/src/mongo/tools
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-07-24 14:53:55 -0400
committerMathias Stearn <mathias@10gen.com>2017-08-17 22:13:09 -0400
commit5f85627971603bf9f5c832f9d4ca2808b31b0efd (patch)
tree57cb296a3e55f20722e19bc0d80e1ad2b1f8fb9a /src/mongo/tools
parent5aa60782cebed045a316b5cd6706be726178ce09 (diff)
downloadmongo-5f85627971603bf9f5c832f9d4ca2808b31b0efd.tar.gz
SERVER-28964 Close connection after seeing invalid OP_MSG flags
Diffstat (limited to 'src/mongo/tools')
-rw-r--r--src/mongo/tools/bridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/tools/bridge.cpp b/src/mongo/tools/bridge.cpp
index 3b8d6969485..07942a6a61b 100644
--- a/src/mongo/tools/bridge.cpp
+++ b/src/mongo/tools/bridge.cpp
@@ -138,7 +138,7 @@ public:
uassert(ErrorCodes::IllegalOperation,
str::stream() << "Unsupported network op " << request.operation(),
- isSupportedNetworkOp(request.operation()));
+ isSupportedRequestNetworkOp(request.operation()));
if (request.operation() == dbCompressed) {
auto swm = compressorManager.decompressMessage(request);