diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-11-26 02:25:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-11-26 02:25:20 +0000 |
commit | 945d6d049c18d4636d4f199ead72dece89bdfa65 (patch) | |
tree | ae7812d94d07fcb2348e7ff9f7548fa2565fde19 /capture_opts.h | |
parent | 913bc4a2427800563e2fbee2ca8ec4026c8737c7 (diff) | |
download | wireshark-945d6d049c18d4636d4f199ead72dece89bdfa65.tar.gz wireshark-945d6d049c18d4636d4f199ead72dece89bdfa65.tar.bz2 wireshark-945d6d049c18d4636d4f199ead72dece89bdfa65.zip |
Add a comment about the "default options".
svn path=/trunk/; revision=53590
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h index f99dac62c1..06e8169899 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -175,7 +175,26 @@ typedef struct capture_options_tag { Currently only used by dumpcap. */ GArray *all_ifaces; guint num_selected; + + /* + * Options to be applied to all interfaces. + * + * Some of these can be set from the GUI, others can't; setting + * the link-layer header type, for example, doesn't necessarily + * make sense, as different interfaces may support different sets + * of link-layer header types. + * + * Some that can't be set from the GUI can be set from the command + * line, by specifying them before any interface is specified. + * This includes the link-layer header type, so if somebody asks + * for a link-layer header type that an interface on which they're + * capturing doesn't support, we should report an error and fail + * to capture. + * + * These can be overridden per-interface. + */ interface_options default_options; + gboolean saving_to_file; /**< TRUE if capture is writing to a file */ gchar *save_file; /**< the capture file name */ gboolean group_read_access; /**< TRUE is group read permission needs to be set */ |