diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-07-12 14:42:14 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-07-12 14:42:14 +0000 |
commit | 445e2212b7289416a0fbe11e3b76981ce60e8310 (patch) | |
tree | 7c736bcc8102322809156a8c60fcdd36eb7b2968 /epan/dissectors/packet-pop.c | |
parent | a092f9857dd782c4ccf5792953269bded3706bb9 (diff) |
Move the registration for SSL sockets to the protocol dissectors themselves.
svn path=/trunk/; revision=25721
Diffstat (limited to 'epan/dissectors/packet-pop.c')
-rw-r--r-- | epan/dissectors/packet-pop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-pop.c b/epan/dissectors/packet-pop.c index 37bc3d4e0d..06d0a3122f 100644 --- a/epan/dissectors/packet-pop.c +++ b/epan/dissectors/packet-pop.c @@ -39,6 +39,7 @@ #include <epan/conversation.h> #include <epan/prefs.h> #include <epan/reassemble.h> +#include "packet-ssl.h" static int proto_pop = -1; @@ -71,6 +72,7 @@ static dissector_handle_t data_handle; static dissector_handle_t imf_handle = NULL; #define TCP_PORT_POP 110 +#define TCP_PORT_SSL_POP 995 /* desegmentation of POP command and response lines */ static gboolean pop_data_desegment = TRUE; @@ -468,6 +470,7 @@ proto_reg_handoff_pop(void) pop_handle = create_dissector_handle(dissect_pop, proto_pop); dissector_add("tcp.port", TCP_PORT_POP, pop_handle); + ssl_dissector_add(TCP_PORT_SSL_POP, "pop", TRUE); data_handle = find_dissector("data"); /* find the IMF dissector */ |