diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-12-28 09:09:09 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-12-28 09:09:09 +0000 |
commit | cec1f884e98d111ed384cf1ec395e44620ad4964 (patch) | |
tree | b12ed1ae9d716dd0ab5189a07fe7c2d40cdb072c /epan/dissectors/packet-smtp.c | |
parent | 831eaa39cb5dc197d25e96b41fd71d7f657038e8 (diff) |
Add submission port dissection.
svn path=/trunk/; revision=23957
Diffstat (limited to 'epan/dissectors/packet-smtp.c')
-rw-r--r-- | epan/dissectors/packet-smtp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-smtp.c b/epan/dissectors/packet-smtp.c index 55286fc8d9..32b79aa850 100644 --- a/epan/dissectors/packet-smtp.c +++ b/epan/dissectors/packet-smtp.c @@ -46,8 +46,12 @@ #include "g_ascii_strcasecmp.h" #endif +/* RFC 2821 */ #define TCP_PORT_SMTP 25 +/* RFC 4409 */ +#define TCP_PORT_SUBMISSION 587 + static int proto_smtp = -1; static int hf_smtp_req = -1; @@ -806,6 +810,7 @@ proto_reg_handoff_smtp(void) smtp_handle = create_dissector_handle(dissect_smtp, proto_smtp); dissector_add("tcp.port", TCP_PORT_SMTP, smtp_handle); + dissector_add("tcp.port", TCP_PORT_SUBMISSION, smtp_handle); /* * Get the content type and Internet media type table |