diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-06-19 00:49:42 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-06-19 07:50:09 +0000 |
commit | f4fd1a3640f45a5c3316e4101c09c49d7b991bce (patch) | |
tree | 099f3a8d3d21cc262b29acaa4261395ac2d7b06c /ui/commandline.c | |
parent | 8634cee96d2c88ff131f293b731722e3d5d7a162 (diff) | |
download | wireshark-f4fd1a3640f45a5c3316e4101c09c49d7b991bce.tar.gz |
Fix problems when compiling without pcap.
Change-Id: Id682a76ac561f92f65638bbdfcd4236eb92e46b7
Reviewed-on: https://code.wireshark.org/review/16010
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/commandline.c')
-rw-r--r-- | ui/commandline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/commandline.c b/ui/commandline.c index e87ce5fc49..49b99f44c7 100644 --- a/ui/commandline.c +++ b/ui/commandline.c @@ -191,8 +191,8 @@ static const char optstring[] = OPTSTRING; void commandline_capture_options(int argc, char *argv[], commandline_capture_param_info_t* param_info) { int opt; - int err; #ifdef HAVE_LIBPCAP + int err; GList *if_list; gchar *err_str; #endif @@ -382,7 +382,7 @@ void commandline_other_options(int argc, char *argv[], commandline_param_info_t* exit(status); } #else - capture_option_specified = TRUE; + param_info->capture_option_specified = TRUE; param_info->arg_error = TRUE; #endif break; |