diff options
author | deniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-20 15:25:17 +0000 |
---|---|---|
committer | deniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-20 15:25:17 +0000 |
commit | f6997b5851eda39cdb6c6462a10b9e1bae8f1ccc (patch) | |
tree | 58584a5d289be5fcbb5b685810e2ffb015aca253 /packet-smtp.c | |
parent | 264f93414f84d34eb64a45e6503856686c959e06 (diff) |
SMTP is Simple *Mail* Transfer Protocol not Message.
Add [OLD_]CHECK_DISPLAY_AS_DATA call.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2308 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-smtp.c')
-rw-r--r-- | packet-smtp.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packet-smtp.c b/packet-smtp.c index 1122380e11..f36785f4f8 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.2 2000/08/20 02:16:23 guy Exp $ + * $Id: packet-smtp.c,v 1.3 2000/08/20 15:25:17 deniel Exp $ * * Copyright (c) 2000 by Richard Sharpe <rsharpe@ns.aus.com> * @@ -100,6 +100,12 @@ dissect_smtp(const u_char *pd, int offset, frame_data *fd, int request = 0; const u_char *cmd = NULL, *data = NULL; +#if 0 + CHECK_DISPLAY_AS_DATA(proto_smtp, tvb, pinfo, tree); +#else + OLD_CHECK_DISPLAY_AS_DATA(proto_smtp, pd, offset, fd, tree); +#endif + /* Let's figure out this packet ... First check if we have done it all before ... */ @@ -179,7 +185,7 @@ proto_register_smtp(void) /* No Configuration options to register? */ - proto_smtp = proto_register_protocol("Simple Message Transfer Protocol", "smtp"); + proto_smtp = proto_register_protocol("Simple Mail Transfer Protocol", "smtp"); proto_register_field_array(proto_smtp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); |