Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal dfilter-grammar.y dfilter-int.h dfilter.c

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

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Sat, 22 Jul 2000 10:59:03 -0500 (CDT)
gram        2000/07/22 10:59:01 CDT

  Modified files:
    .                    dfilter-grammar.y dfilter-int.h dfilter.c 
                         proto.c proto.h 
  Log:
  Simplify the way the display filter routines get field values from
  the proto tree. Now, proto_get_finfo_ptr_array() can easily be used by
  any routine, not just display filter code, to get values from the proto
  tree. This might be useful if one were to allow columns in the packet list
  to show the value of an arbitrary field.
  
  Fixed a memleak when filtering on a byte arrays.
  
  Fixed erroneous asserts in dfilter-grammar.y, where I used '=' instead of '=='.
  They had to do with byte-arrays, too.
  
  Revision  Changes    Path
  1.39      +39 -22    ethereal/dfilter-grammar.y
  1.12      +11 -8     ethereal/dfilter-int.h
  1.35      +95 -101   ethereal/dfilter.c
  1.70      +110 -45   ethereal/proto.c
  1.36      +12 -24    ethereal/proto.h