It is not an error (anymore) to specify multiple capture filters.

This was
wireshark -i lo0 -f sctp -i en0 -f udp -k
will work.

svn path=/trunk/; revision=37287
This commit is contained in:
Michael Tüxen 2011-05-19 11:58:18 +00:00
parent 0f41b64142
commit d37d757dbc
1 changed files with 0 additions and 4 deletions

View File

@ -658,10 +658,6 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg_
capture_opts->autostop_packets = get_positive_int(optarg_str_p, "packet count");
break;
case 'f': /* capture filter */
if ((!capture_opts->use_pcapng) && (capture_opts->has_cfilter)) {
cmdarg_err("More than one -f argument specified");
return 1;
}
capture_opts->has_cfilter = TRUE;
g_free(capture_opts->cfilter);
capture_opts->cfilter = g_strdup(optarg_str_p);