diff options
author | Laurent Deniel <laurent.deniel@free.fr> | 2000-08-20 15:25:17 +0000 |
---|---|---|
committer | Laurent Deniel <laurent.deniel@free.fr> | 2000-08-20 15:25:17 +0000 |
commit | b634f019f445e0ae4e3991c7647af661349731f5 (patch) | |
tree | 58584a5d289be5fcbb5b685810e2ffb015aca253 /packet-smtp.c | |
parent | c1214ede33f670fa0df1e5f9baa6623c4f440c59 (diff) |
SMTP is Simple *Mail* Transfer Protocol not Message.
Add [OLD_]CHECK_DISPLAY_AS_DATA call.
svn path=/trunk/; revision=2308
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)); |