aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2017-12-14 17:14:32 +0000
committerAnders Broman <a.broman58@gmail.com>2017-12-14 18:45:52 +0000
commit4cf7cd3ed20c57dc5977be5be37ced0bd1706d61 (patch)
tree7c7e431b7456be13477d6ba7629c07fbd1902405
parentfe4cf449c9787bcfd234db22674a0f49fee04ff0 (diff)
Register the MongoDB dissector as SSL capable.
Bug: 14275 Change-Id: Ia0d8d0b333f69e59ba54b0d788587484dfae950e Reviewed-on: https://code.wireshark.org/review/24827 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-mongo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mongo.c b/epan/dissectors/packet-mongo.c
index 5c91f0a239..6051be8b50 100644
--- a/epan/dissectors/packet-mongo.c
+++ b/epan/dissectors/packet-mongo.c
@@ -35,6 +35,7 @@
#include <epan/exceptions.h>
#include <epan/expert.h>
#include "packet-tcp.h"
+#include "packet-ssl.h"
#ifdef HAVE_SNAPPY
#include <snappy-c.h>
#endif
@@ -1462,6 +1463,7 @@ void
proto_reg_handoff_mongo(void)
{
dissector_add_uint_with_preference("tcp.port", TCP_PORT_MONGO, mongo_handle);
+ ssl_dissector_add(TCP_PORT_MONGO, mongo_handle);
}
/*
* Editor modelines