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: Tue, 20 Feb 2001 03:28:29 -0600 (CST)
guy         2001/02/20 03:28:29 CST

  Modified files:
    gtk                  dfilter_expr_dlg.c 
  Log:
  Call the test for a protocol "is present", just like the test for other
  fields.
  
  Show a relational operator on a field if the field supports it *or* if
  the field can be sliced and the type generated by a range (FT_BYTES)
  supports it.  (This lets you do a comparison on a protocol, not just on
  a range of a protocol - e.g., "arp == 2", not just "arp[0:1] == 2" - but
  the alternative would be to show only the "is present" test, as if you
  don't offer the other tests, you can't turn on the range text box when
  they select a comparison expression if you don't show comparison
  expresions...).
  
  Revision  Changes    Path
  1.14      +46 -35    ethereal/gtk/dfilter_expr_dlg.c