diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-07 08:06:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-07 08:06:25 +0000 |
commit | cc05b9250d271bf75d814d6880b11a4fc4a0540a (patch) | |
tree | 211917813f771c8c7799bf5cc322e7a61f7bac39 /capture_opts.h | |
parent | 1bcecb4bcd77d8ae938f7d92993a3586a576c65b (diff) | |
download | wireshark-cc05b9250d271bf75d814d6880b11a4fc4a0540a.tar.gz wireshark-cc05b9250d271bf75d814d6880b11a4fc4a0540a.tar.bz2 wireshark-cc05b9250d271bf75d814d6880b11a4fc4a0540a.zip |
For TShark and Wireshark, get the list of link-layer types for an
interface by running dumpcap, so that if you need privileges to open an
interface, and dumpcap has those privileges, neither TShark nor
Wireshark need them.
svn path=/trunk/; revision=32710
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capture_opts.h b/capture_opts.h index d4bacb4f19..3b1b869398 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -175,9 +175,9 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg, extern void capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_options *capture_opts); -/* list link layer types */ -extern int -capture_opts_list_link_layer_types(capture_options *capture_opts, gboolean machine_readable); +/* print list of link layer types */ +extern void +capture_opts_print_link_layer_types(GList *lt_list); /* list interfaces */ extern int |