forked from osmocom/wireshark
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>
This commit is contained in:
parent
8634cee96d
commit
f4fd1a3640
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue