Ethereal-dev: Re: [Ethereal-dev] FIX Protocol

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 16 Sep 2002 19:54:35 +0200
On Mon, Sep 16, 2002 at 10:03:34AM -0600, PC Drew wrote:
> Here's a new version of the packet-fix.c file.  Thanks for everyone's input!

Checked in with the following small patch applied on top of it

======================================
@@ -21,6 +21,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Documentation: http://www.fixprotocol.org/
  */

 #ifdef HAVE_CONFIG_H
@@ -869,7 +871,7 @@
     }

     field_len = ctrla_offset - field_offset + 1;
-    equals = tvb_find_guint8(tvb, offset, field_len, 0x3d); /* equals sign */
+    equals = tvb_find_guint8(tvb, offset, field_len, '=');
     if (equals == -1) {
         return return_malformed_packet(tvb, pinfo, tree);
     }
@@ -907,7 +909,7 @@
                 break;
             }

-            equals = tvb_find_guint8(tvb, offset, field_len, 0x3d); /* equals sign */
+            equals = tvb_find_guint8(tvb, offset, field_len, '=');
             if (equals == -1) {
                 return return_malformed_packet(tvb, pinfo, tree);
             }
======================================

It would be nice to have a sample trace. It would be even nicer if that
trace doesn't contain any sensitive data so we could put it into the sample
trace section of www.ethereal.com

  Ciao
          Jörg