aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-05-16 18:50:40 +0000
committerGuy Harris <guy@alum.mit.edu>2004-05-16 18:50:40 +0000
commit51969fbd06eb5944a42a612acf7394f5958f19ab (patch)
tree253c3291724ec9b4bb0fa6ed30bfc48e692bb456 /packet-smtp.c
parent82ca4cc6b5c7aa637aaca144206634f591d6ba48 (diff)
downloadwireshark-51969fbd06eb5944a42a612acf7394f5958f19ab.tar.gz
wireshark-51969fbd06eb5944a42a612acf7394f5958f19ab.tar.bz2
wireshark-51969fbd06eb5944a42a612acf7394f5958f19ab.zip
From Yaniv Kaul: add support for 3 MS-Exchange, non-RFC compliant
commands, per http://support.microsoft.com/default.aspx?scid=kb;[LN];812455 svn path=/trunk/; revision=10911
Diffstat (limited to 'packet-smtp.c')
-rw-r--r--packet-smtp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/packet-smtp.c b/packet-smtp.c
index ec271538a4..200c72b336 100644
--- a/packet-smtp.c
+++ b/packet-smtp.c
@@ -1,7 +1,7 @@
/* packet-smtp.c
* Routines for SMTP packet disassembly
*
- * $Id: packet-smtp.c,v 1.36 2004/01/17 12:51:00 ulfl Exp $
+ * $Id: packet-smtp.c,v 1.37 2004/05/16 18:50:40 guy Exp $
*
* Copyright (c) 2000 by Richard Sharpe <rsharpe@ns.aus.com>
*
@@ -302,7 +302,11 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
} else {
-
+ if ((linelen >= 7) && line[0] == 'X' && ( (strncasecmp(line, "X-EXPS ", 7) == 0) ||
+ ((linelen >=13) && (strncasecmp(line, "X-LINK2STATE ", 13) == 0)) ||
+ ((linelen >= 8) && (strncasecmp(line, "XEXCH50 ", 8) == 0)) ))
+ frame_data->pdu_type = SMTP_PDU_CMD;
+ else
/*
* Assume it's message data.
*/