Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk dfilter_expr_dlg.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Feb 2001 01:09:40 -0600 (CST)
guy         2001/02/23 01:09:39 CST

  Modified files:
    gtk                  dfilter_expr_dlg.c 
  Log:
  Boolean fields are just like other fields - if you use the field name
  without a comparison operator, it tests for the field's presence or
  absence, not its value; to test whether a Boolean field is true, you
  compare it with a non-zero value, and to test whether it's false, you
  compare it with a zero value.
  
  Make the filter expression construction dialog handle that correctly.
  
  Revision  Changes    Path
  1.19      +74 -74    ethereal/gtk/dfilter_expr_dlg.c