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>
This commit is contained in:
Derick Rethans 2017-12-14 17:14:32 +00:00 committed by Anders Broman
parent fe4cf449c9
commit 4cf7cd3ed2
1 changed files with 2 additions and 0 deletions

View File

@ -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