diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-09-10 22:23:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-09-10 22:23:58 +0000 |
commit | 3e1a53241351c35b52450c2a98c7f7a222f8d653 (patch) | |
tree | 1ed8d38556a272ae4d44b7cba817b907fc2a5aa3 /file.c | |
parent | 7704cdd1490ee9017ac78c03ca9728abdd2c20f9 (diff) | |
download | wireshark-3e1a53241351c35b52450c2a98c7f7a222f8d653.tar.gz wireshark-3e1a53241351c35b52450c2a98c7f7a222f8d653.tar.bz2 wireshark-3e1a53241351c35b52450c2a98c7f7a222f8d653.zip |
When saving packets, we have a "Save only marked packets" option; label
the option to print only marked packets similarly, rather than as
"Suppress unmarked packets" (for consistency, and because the latter
isn't unlike a double negative).
svn path=/trunk/; revision=8451
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* file.c * File I/O routines * - * $Id: file.c,v 1.308 2003/09/08 21:08:43 sahlberg Exp $ + * $Id: file.c,v 1.309 2003/09/10 22:23:58 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1273,8 +1273,8 @@ print_packets(capture_file *cf, print_args_t *print_args) /* Check to see if we are suppressing unmarked packets, if so, * suppress them and then proceed to check for visibility. */ - if (((print_args->suppress_unmarked && fdata->flags.marked ) || - !(print_args->suppress_unmarked)) && fdata->flags.passed_dfilter) { + if (((print_args->print_only_marked && fdata->flags.marked ) || + !(print_args->print_only_marked)) && fdata->flags.passed_dfilter) { if (!wtap_seek_read (cf->wth, fdata->file_off, &cf->pseudo_header, cf->pd, fdata->cap_len, &err)) { simple_dialog(ESD_TYPE_CRIT, NULL, |