diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-02-12 10:06:51 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-02-12 10:06:51 +0000 |
commit | 0196634a17091403b2fedc1315ae0b3929f62756 (patch) | |
tree | 4f24b78eef4ed3e6dd2c0de46dd1ace0579b9cd6 /gtk | |
parent | 32a7b693f9f8a65022c68fca0d0c89bbdd705365 (diff) |
If there are multiple fields with the same name, list only one of them
in the output of "{ethereal,tethereal} -G", so that it appears only once
in the documentation.
Expand some comments to give more details.
svn path=/trunk/; revision=3024
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/dfilter_expr_dlg.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk/dfilter_expr_dlg.c b/gtk/dfilter_expr_dlg.c index ed45cdf579..c234318b39 100644 --- a/gtk/dfilter_expr_dlg.c +++ b/gtk/dfilter_expr_dlg.c @@ -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.11 2001/02/12 09:06:19 guy Exp $ + * $Id: dfilter_expr_dlg.c,v 1.12 2001/02/12 10:06:51 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -1013,12 +1013,14 @@ dfilter_expr_dlg_new(GtkWidget *filter_te) /* * If there's another field with the same name as this - * one, skip it - all fields with the same name should - * have the same type/radix/value list, they would - * just have different bit masks. (If a field isn't - * a bitfield, but can be, say, 1 or 2 bytes long, - * it can just be made FT_UINT16, meaning the *maximum* - * length is 2 bytes.) + * one, skip this field - all fields with the same name + * are really just versions of the same field stored in + * different bits, and should have the same type/radix/ + * value list, and just differ in their bit masks. + * (If a field isn't a bitfield, but can be, say, 1 or 2 + * bytes long, it can just be made FT_UINT16, meaning the + * *maximum* length is 2 bytes, and be used for all + * lengths.) */ if (hfinfo->same_name != NULL) continue; |