SMTP is Simple *Mail* Transfer Protocol not Message.
authordeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 20 Aug 2000 15:25:17 +0000 (15:25 +0000)
committerdeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 20 Aug 2000 15:25:17 +0000 (15:25 +0000)
Add [OLD_]CHECK_DISPLAY_AS_DATA call.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2308 f5534014-38df-0310-8fa8-9805f1628bb7

packet-smtp.c

index 1122380e11eefb3ae1a8989b57dbd131d8b89bf4..f36785f4f86c58edf6f35d8560f319c6ac397c1c 100644 (file)
@@ -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));