FT_PROTOCOL is like FT_NONE; you can only test for the field's presence

(XXX or absence - we should offer that choice in the dialog).

svn path=/trunk/; revision=2973
This commit is contained in:
Guy Harris 2001-02-01 22:01:42 +00:00
parent ebf6ae7cf6
commit baee1df878
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@
* Copyright 2000, Jeffrey C. Foster<jfoste@woodward.com> and
* Guy Harris <guy@alum.mit.edu>
*
* $Id: dfilter_expr_dlg.c,v 1.6 2001/02/01 20:21:21 gram Exp $
* $Id: dfilter_expr_dlg.c,v 1.7 2001/02/01 22:01:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -170,6 +170,7 @@ field_select_row_cb(GtkWidget *tree, GList *node, gint column,
switch (hfinfo->type) {
case FT_NONE:
case FT_PROTOCOL:
/*
* You can only test for the field's presence;
* hide the relation stuff.